通过XShell与远程Linux服务器互传文件
先安装lrzsz
[root@iZ2zej1nogjvot6f4dzt6eZ emqx]# yum install lrzsz
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00:00
docker-ce-stable | 3.5 kB 00:00:00
emqx-ce-stable | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
influxdb | 2.5 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/8): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(2/8): extras/7/x86_64/primary_db | 222 kB 00:00:00
(3/8): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(4/8): docker-ce-stable/x86_64/primary_db | 51 kB 00:00:00
(5/8): epel/x86_64/primary_db | 6.9 MB 00:00:00
(6/8): updates/7/x86_64/primary_db | 4.7 MB 00:00:00
(7/8): emqx-ce-stable/primary_db | 649 kB 00:00:01
(8/8): influxdb/7/x86_64/primary_db | 51 kB 00:00:01
Package lrzsz-0.12.20-36.el7.x86_64 already installed and latest version
Nothing to do
sz 下载
sz emqx.log.1
rz 上传
rz
非常方便