scp

scp -rp -P22 test.txt root@xxxx:/tmp/


scp -rp -P22 root@xxxx:/tmp/1.txt ./

原文地址:https://www.cnblogs.com/fanxuanhui-linux/p/6184968.html