1.上传文件 scp -r file 用户名@ip地址:目标目录 2.下载文件 scp -r 用户名@ip地址:文件 目标目录 转载于:https://www.cnblogs.com/renren-study-notes/p/10465825.html