SSH 접속 에러 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
원인
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:------------------------------------------------.
Please contact your system administrator.
Add correct host key in /Users/suj/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /Users/suj/.ssh/known_hosts:122
Host key for 192.123.12.1 has changed and you have requested strict checking.
Host key verification failed.
원격 호스트 식별 정보가 변경되어 등록되어있던 KEY값과 달라 접속할 수 없는 상황이다.
해결
ssh-keygen -R <IP>
실행 결과
