본문 바로가기
Error

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

by pavi03 2022. 3. 11.

[AWS EC2] 

ssh 접속을 하려고 했더니 다음과 같은 오류가 났다.

 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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/hyeminchoi/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/hyeminchoi/.ssh/known_hosts:63

Host key for [IP] has changed and you have requested strict checking.

Host key verification failed.

 

 

해결방법

ssh-keygen -R [IP]