πŸ‘©πŸ»‍πŸ’»/ssh

[SSH] 접속 였λ₯˜ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

바쿄리 2024. 7. 22. 17:49

κ°œμš”

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 ~/.ssh/known_hosts to get rid of this message. 
Offending ECDSA key in ~/.ssh/known_hosts:28 
host key for ~ has changed and you have requested strict checking.
Host key verification failed.

 

확인

μ„œλ²„κ°€ λ³€κ²½ λ˜μ—ˆλŠ”λ°, λ™μΌν•œ ip둜 접근을 μ‹œλ„ν•  λ•Œ λ°œμƒν•˜λŠ” λ¬Έμ œμ΄λ‹€.

 

μ§„ν–‰

μ΄λŸ¬ν•œ κ²½μš°μ—” μ ‘κ·Όν•  ip 에 λŒ€ν•˜μ—¬ μ΄ˆκΈ°ν™”λ₯Ό μ§„ν–‰ν•˜λ©΄ λœλ‹€.

ssh-keygen -R [μ ‘κ·Όν•  ip μ£Όμ†Œ μž…λ ₯]