您现在的位置:主页 > 技术中心 > 操作系统 > Linux

Linux的远程复制命令scp

来源:网络 责任编辑:admin 发表时间:2013-07-02 06:01 点击:

通过cygdrive命令,在cygwin窗口中可以将本地文件上传至目标linux服务器中、、、
 
在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

作者“lxs647”
 

    相关新闻>>

      发表评论
      请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
      评价:
      表情:
      用户名: 验证码:点击我更换图片

      推荐热点

      • /etc/fstab 详解
      • nginx主主集群
      •  LVS-NAT和LVS-DR模式的实现详解
      •  RHCE考试之磁盘配额
      • 学习笔记:ACL详解
      •  LVM逻辑卷管理器
      • suse linux双网卡双网关配置
      •  Nginx主主负载均衡架构
      • linux top命令详解

      快速直达

      ?? - ?? - ÝřŝžľŘÝź - TAGąęÇŠ - RSSśŠÔÄ - ??
      Copyright © 2004-2024 上海卓卓网络科技有限公司