sshで以下のエラーが出る場合の対処法

sshで以下のエラーが出る場合の対処法

  • >クライアントの/.ssh/known_hosts ファイルの該当PCのアドレスが入っている

行を削除すればよろしい.

$ ssh ~/.ssh/id_rsa fdafda@fdafdfdsf.fdafads.com
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
xxxxxxxxx.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending RSA key in /.ssh/known_hosts:3
RSA host key for chara.hottolink.com has changed and you have requested strhecking.
Host key verification failed.