首页 > 技术文章 > scp跳板机

shudai 2016-01-12 11:15 原文

---登陆跳板机

#ssh -i ./test.pub user@10.0.0.44 -p4333 -v

---把跳板机的文件拷贝下来

#scp -P 4333 -i ./vv/test.pub user@10.0.0.44:~/test.html .

---把跳板机文件拷贝到服务器

#scp -r -i .ssh/id_rsa $1 deploy@10.0.0.40:~/

推荐阅读