在SecureCRT这样的ssh登陆软件里,经过在Linux界面里输入rz/sz命令来上传/下载文件
sudo apt-get install lrzsz 或者 yum install lrzsz
ubuntu@ip-172-31-12-158:/opt/www/Login-Service/20000$ ls loggin.conf logs ubuntu@ip-172-31-12-158:/opt/www/Login-Service/20000$ sz loggin.conf rz Starting zmodem transfer. Press Ctrl+C to cancel. Transferring loggin.conf... 100% 1 KB 1 KB/sec 00:00:01 0 Errors
rz后回车,此时终端会弹出窗口,选择文件上传(多选支持批量上传)ubuntu
ubuntu@ip-172-31-12-158:/opt/www/Login-Service/20000$ rz rz waiting to receive. Starting zmodem transfer. Press Ctrl+C to cancel. Transferring loggin3333.conf... 100% 1 KB 638 bytes/sec 00:00:02 0 Errors
SecureCRT
-> Options
-> session potions
-> X/Y/Zmodem
下能够设置上传和下载的目录segmentfault
参考连接:服务器
Linux下rz/sz安装及使用方法session