從服務器下載文件到本地
打開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,最后會讓輸入密碼