从服务器下载文件到本地
打开xshell,输入:ssh root@159.xxx.xxx.xx
然后需要输入密码
cd到目录文件夹下
cd /enmotech
apt install zip
zip -r uploads.zip uploads
apt install lrzsz
sz uploads.zip
从本地上传文件到服务器
如果文件是放在E盘,在E盘cmd
scp img.zip root@159.xxx.xxx.xx:/enmotech/
如果提示需要yes,直接enter,最后会让输入密码