Ask Your Question
0

host key verification failed

asked 2013-04-16 20:17:12 -0500

Chik gravatar image

I upgraded the Turtlebot laptop to Ubuntu 12.04 and ROS Fuerte. After that, I tried to ssh from my workstation. It gave this error:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 ca:e6:7b:30:7f:bf:5a:ca:fe:.... Please contact your system administrator. Add correct host key in /home/davidchik/.ssh/known_hosts to get rid of this message. Offending RSA key in /home/davidchik/.ssh/known_hosts:1
remove with: ssh-keygen -f "/home/davidchik/.ssh/known_hosts" -R 172.17... RSA host key for 172.17... has changed and you have requested strict checking. Host key verification failed.

How to reset this key?

Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-04-16 20:38:46 -0500

Thomas gravatar image

updated 2013-04-16 22:05:19 -0500

Use ssh-keygen -R <hostname you want to delete>

Not ROS specific although.

edit flag offensive delete link more

Comments

Thank you very much

Chik gravatar imageChik ( 2013-04-16 21:23:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-04-16 20:17:12 -0500

Seen: 235 times

Last updated: Apr 16 '13