scp 遠程拷貝文件

遠程訪問另一臺機器sql

1、遠程登陸指令

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

2、進入文件所在目錄

[root@Server120 ~]# cd /home/maraidb/code

3、遠程拷貝文件

[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

相關文章
相關標籤/搜索