-bash-3.2$ ssh -l username your_remote_host_ip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
33:9c:82:44:c0:35:65:bd:09:5f:91:fa:37:ea:32:e0.
Please contact your system administrator.
Add correct host key in /home/yourdir/.ssh/known_hosts to get rid of this message.
Offending key in /home/yourdir/.ssh/known_hosts:1
RSA host key for your_remote_host_ip has changed and you have requested strict checking.
Host key verification failed.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
33:9c:82:44:c0:35:65:bd:09:5f:91:fa:37:ea:32:e0.
Please contact your system administrator.
Add correct host key in /home/yourdir/.ssh/known_hosts to get rid of this message.
Offending key in /home/yourdir/.ssh/known_hosts:1
RSA host key for your_remote_host_ip has changed and you have requested strict checking.
Host key verification failed.
解决方法:
ssh-keygen -f "/home/yourdir/.ssh/known_hosts" -R your_remote_host_ip