ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

host key verification failed

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

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

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

Thomas gravatar image

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

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

Not ROS specific although.

edit flag offensive delete link more


Thank you very much

Chik gravatar image Chik  ( 2013-04-16 21:23:59 -0600 )edit

Question Tools


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

Seen: 421 times

Last updated: Apr 16 '13