ssh RSA keyの編集

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
というエラーが発生
これは、バックアップから作成したGMOクラウドへ接続したときのエラー
Please contact your system administrator.
Add correct host key in /home/wiki/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/wiki/.ssh/known_hosts:5

エラーがでているので
vim .ssh/known_hosts
でファイルを開き 5行めを削除
これで無事接続可能になりました

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です