服务器定义:

A : localhost-本机

B : 有公网IP的服务器-跳板机

C :   无公网IP的服务器-目标机

 

怎么操作?

SSH !

 

ssh  -o StrictHostKeyChecking=no root@xxx

 

注:

1.下划线部分一定要加,否则会报 The authenticity of host 'xxx (xxx)' can't be established.错误

2.xxx即是目标机C的ip

 

相关文章: