ssh通道技术

it2022-05-05  106

ssh通道技术

 所有机器均为Linux操作系统。   机器是A,中间服务器为B,目标服务器是C。  从A可以ssh到B,从B可以ssh到C,但是A不能直接ssh到C。  现在展示利用ssh通道技术从A直接传输文件到C。  1. ssh -L1234:C:22 root@B  input B's password  2. scp -P1234 filename root@localhost:  input C's ip password

posted on 2016-01-12 17:40 Mr.毛小毛 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/maowenqiang/p/5125110.html


最新回复(0)