遠程訪問另一臺機器sql
shellssh 192.168.1.108
Linux實現shell
[root@localhost ~]# ssh 192.168.1.108
root@192.168.1.108's password:
Permission denied, please try again.
root@192.168.1.108's password:
Last failed login: Thu Apr 30 15:38:59 CST 2015 from 192.168.1.108 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Thu Apr 30 14:38:25 2015 from 10.10.21.187ssh
[root@Server120 ~]# cd /home/maraidb/code
[root@Server120 mariadb]# scp backup.sql root@192.168.1.108:/home/sakila
root@192.168.1.108's password:
backupCT.sql 100% 2949MB 11.2MB/s 04:23io
到此就能夠了!mariadb