scp -i .ssh/key -P 端口 -r root@域名:远程文件夹 本地文件夹 -i : key文件 -P : 端口 -r :文件夹 转载于:https://www.cnblogs.com/JohannaFeng/p/5894653.html