裝了個測試機、ssh遠程跳轉時出錯、錯誤提示以下:ssh
[root@localhost ~]# ssh -p 33322 192.168.18.74ide
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@測試
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @this
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@rem
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!get
Someone could be eavesdropping on you right now (man-in-the-middle attack)!it
It is also possible that the RSA host key has just been changed.io
The fingerprint for the RSA key sent by the remote host isclass
a0:cf:da:73:19:e6:bf:7e:42:ef:69:8f:02:76:04:e9.sed
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:84
RSA host key for 192.168.18.74 has changed and you have requested strict checking.
Host key verification failed.
[root@localhost ~]# ssh -p 3322 192.168.18.74
ssh: connect to host 192.168.18.74 port 3322: Connection refused
[root@localhost ~]# ssh -p 333322 192.168.18.74
Bad port '333322'
[root@localhost ~]# ssh -p 33222 192.168.18.74
ssh: connect to host 192.168.18.74 port 33222: Connection refused
解決辦法:在你當前的主機的家目錄下、vi ~/.ssh/known_hosts、找到你須要跳轉到的主機的ssh-rsa 信息、刪除其ssh-rsa 信息後保存便可