在SecureCRT中使用rz和sz传输文件

首先检查Centos中有没有安装 lrzsz sudo yum install lrzsz 使用yum install的时候碰到一个问题, 不知道是否和虚拟机环境有关

Existing lock /var/run/yum.pid: another copy is running as pid 3604.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  22 M RSS (249 MB VSZ)
    Started: Sat Jun 14 09:40:20 2014 - 00:10 ago
    State  : Sleeping, pid: 3604

使用 sudo /sbin/service yum-updatesd stop 后解决 然后在SecureCRT里面设置, 打开当前Options -> Session Options -> Xmodem/Zmodem, 设置好默认的本地上载和下载目录, 保存下. 上载时, 执行rz (receive ztransfer, 这是从服务端的角度看的), 会弹出文件选择框, 选择文件即可上传 下载时, 执行sz filename, 会下载文件到本地目录

posted on 2014-06-14 22:35  Milton  阅读(455)  评论(0编辑  收藏  举报

导航