scp跳板机

---登陆跳板机

#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:~/

posted @ 2016-01-12 11:15  laughingLau  阅读(2060)  评论(0编辑  收藏  举报