在进行ssh连接后,可使用scp传输文件 ssh user@ip scp localfile user@ip:目录 比如: scp /home/wxl/readme.txt wxl@156.25.36.84 /tmp