SSHキーファールの重複が原因。
※同一IPでSSHキーが異なる場合、同現象が発生します。
# ssh root@192.168.0.100
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
ca:bf:38:df:38:25:5d:3b:28:1f:30:4c:97:a1:fc:d8.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:8
RSA host key for 192.168.0.100 has changed and you have requested strict checking.
Host key verification failed.
lost connection
SSH接続キー情報格納ファイル /{接続ユーザー}/.ssh/known_hosts を開き、接続を行うサーバーのIP情報を削除し上書き保存を行う。
# vi /{接続ユーザー}/.ssh/known_hosts
例:管理者(root)権限の場合
# vi /root/.ssh/known_hosts
192.168.0.100 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAzLKskLrLM0WRaOjuqs/
BqjbAs/div2upU/pn6yzRi7LQt0/GfFcY4EX7p86dzC6T7M
dwnhD1jJ5BWNMBhEiZTjDcdeopb7eQGjnQWdSe+Qf9GvJX2
+DUFvdfQ4JaKc/sEu180jIaFX4uiG6WfDB43/RU5eUDbONh
bIsS93IGUNTpvAt9IYn5jEX+oYiRtpnbsaMRo94KepMxLiU
C6eNboOfsLR7uP8D5UYSmsiB3f91kx0orsELCbQ3QRY6/s+
luwcmxZDl8c4cTYpF5jYI2Om7cG5lDs0mPA17bVX0/3QY4z
6UDslMucD2qRBdnc/5P8eCF9EXfY4EYe9a9ndB36Q==
対象サーバの情報を削除後、再度SSHで接続を行うと問題なく接続することができます。
# ssh root@192.168.0.100
The authenticity of host '192.168.0.100 (192.168.0.100)' can't be established.
RSA key fingerprint is ca:bf:38:df:38:25:5d:3b:28:1f:30:4c:97:a1:fc:d8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.100' (RSA) to the list of known hosts.
root@192.168.0.100's password: