首先安装lrzsz 命令为:yum install lrzsz 安装完毕后直接将.tar.gz格式的文件拖如xshell的窗口内就会自动上传。 转载于:https://www.cnblogs.com/jinshuo/p/8690164.html