Mac电脑ssh远程连接报错如下:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is 56:aa:c6:99:26:b2:70:c4:e0:82:d4:75:96:13:3e:57. Please contact your system administrator. Add correct host key in /Users/test/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/tset/.ssh/known_hosts:5 RSA host key for 192.168.0.135 has changed and you have requested strict checking. Host key verification failed.
解决办法:
vim /Users/test/.ssh/known_hosts 删除不能远程主机的相关rsa信息即可