WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

エラー原因

ホストコンピュータが変更されたので警告している。

※誰かが同じコンピュータ名で(盗聴し)悪意を働こうとしている可能性を指摘している。

% scp test-user@test-web01:/home/test-user/xxx.sql.gz /Users/hrt0kmt/Desktop
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 ECDSA key sent by the remote host is
SHA1111:xxx.
Please contact your system administrator.
Add correct host key in /Users/hrt0kmt/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/hrt0kmt/.ssh/known_hosts:100
ECDSA host key for web01.test.local has changed and you have requested strict checking.
Host key verification failed.
Killed by signal 1.
  1. % vi .ssh/known_hosts から該当のホストの行を削除
  2. 再度接続
The authenticity of host 'web01.test.local (<no hostip for proxy command>)' can't be established.
ECDSA key fingerprint is SHA111:xxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'web01.test.local' (ECDSA) to the list of known hosts.

接続完了。