2010年2月25日 星期四

ssh由a機登入b機,無法登入的解決方法!

當由a機登入b機,,而出現以下訊息,無法登入時!
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is e6:8e:c8:e4:85:33:72:e7:2e:04:35:65:bb:c2:2f:1d. 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:1 RSA host key for 10.1.2.227 has changed and you have requested strict checking. Host key verification failed.
登入a機這邊,將/root/.ssh/know_host檔打開:
vi /root/.ssh/know_host
將其中關於b機的那一串記錄刪掉即可!

沒有留言: