카테고리 없음

Mac ssh 접속 에러 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 해결

yisj 2023. 11. 4. 21:12

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:lYNyJqkGXZCJq0Aq3zTim4W3NXwCF05CA3jmb7nTVsU.
Please contact your system administrator.
Add correct host key in /Users/-----/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /Users/-----/.ssh/known_hosts:1
Host key for -------- has changed and you have requested strict checking.
Host key verification failed.

 

접속 IP의 우분투를 새로 깔았더니 이런 에러가 뜬다.

 

ssh-keygen -R 접속IP