将本地testdir拷贝到远程服务器tmp目录下
scp -r -p 9022 testdir xiaoming@192.168.0.2:/tmp/
远程拷贝代码 指定端口
原文:https://www.cnblogs.com/sea-stream/p/10436199.html