Linux的远程复制命令scp
Linux的远程复制命令scp
学习啦在线学习网 在cygwin窗口中命令如下:
test@test ~
学习啦在线学习网 $ cd /cygdrive/f/20110929
test@test /cygdrive/f/20110929
$ ls
学习啦在线学习网 将本地20110929中的所有以tar.gz的压缩包上传至
学习啦在线学习网 test@testredhat中的tmp目录下(开启的端口假设是9022):
学习啦在线学习网 test@test /cygdrive/f/20110929
学习啦在线学习网 $ scp -P 9022 *.gz test@testredhat:/tmp/
The authenticity of host '[testredhat]:9022 ([10.59.4.201]:9022)' can'
t be established.
学习啦在线学习网 RSA key fingerprint is c4:a9:d3:f6:d5:eb:a9:d9:56:59:fc:34:7b:cf:03:51.
学习啦在线学习网 Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[testredhat]:9022' (RSA) to the list of kn
学习啦在线学习网 own hosts.
test@testredhat's password:
输入密码,开始上传。。。
a.tar.gz 100% 31MB 3.9MB/s 00:08
b.tar.gz 100% 1484KB 1.5MB/s 00:00
学习啦在线学习网 c.tar.gz 100% 86MB 3.2MB/s 00:27
看了“Linux的远程复制命令scp”还想看:
Linux的远程复制命令scp
上一篇:Linux scp命令介绍