ssh problema no CentOS 5.6

1

Depois de instalar o CentOS, quando tento conectar remotamente via ssh, aparece um erro como este. Como posso resolver isso?

Siam-Wannakosits-MacBook-Pro:~ragopor$ ssh [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
b8:23:20:f7:d5:7c:1f:5f:f5:9c:ee:46:67:19:58:68.
Please contact your system administrator. Add correct host 
key in /Users/ragopor/.ssh/known_hosts to get rid of this 
message. Offending key in /Users/ragopor/.ssh/known_hosts:5 
RSA host key for 192.168.1.10 has changed and you have 
requested strict checking. Host key verification failed.
    
por RAGOpoR 31.05.2011 / 11:49

1 resposta

5

Abra /Users/ragopor/.ssh/known_hosts no seu computador local (Macbook Pro) e exclua a linha quinta , salve-a e tente novamente.

Ou, se você quiser ter algo, pode colocar no terminal:

sudo awk 'NR!=5' /Users/ragopor/.ssh/known_hosts > /Users/ragopor/.ssh/known_hosts
    
por 31.05.2011 / 11:55

Tags