linux ssh 到另外一个机器时报错

root@kinken:/home/kinken# ssh kinken@192.168.61.137

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 ECDSA key sent by the remote host is

07:44:8a:a7:ac:51:52:be:08:b1:be:13:8b:be:79:7c.

Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /root/.ssh/known_hosts:1

ECDSA host key for 192.168.61.137 has changed and you have requested strict checking.

Host key verification failed.


解决方案:

把原来的ssh密钥移除,重新获取密钥

root@kinken:/home/kinken# mv /root/.ssh/known_hosts /tmp/

root@kinken:/tmp# ssh kinken@192.168.61.137

kinken@192.168.61.137's password:

Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)


* Documentation:  https://help.ubuntu.com/


 System information as of Wed Dec 18 17:37:04 CST 2013


 System load:  0.01              Processes:           67

 Usage of /:   2.0% of 48.60GB   Users logged in:     1

 Memory usage: 45%               IP address for eth0: 192.168.61.137

 Swap usage:   0%


 Graph this data and manage this system at https://landscape.canonical.com/


Last login: Wed Dec 18 17:34:45 2013 from 192.168.61.136