MAC SSH 접속오류

2024. 10. 10. 21:53이것저것/SSH

이럴때 너무 당황스럽지만, 아래와 같은 방법으로 해보니 쉽게 해결되어 공유드립니다.

 

Error 상황 (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:Hdtt+mTy77GaHkp9SQDkFE23h5JqkrRlYKRPFNr2jYA.
Please contact your system administrator.
Add correct host key in /Users/xxxxx/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/xxxxx/.ssh/known_hosts:17
Host key for 43.203.69.133 has changed and you have requested strict checking.
Host key verification failed.

 

아래 명령어 입력 > 해결 가능

ssh-keygen -R [IP(Public) or DomainName]

 

'이것저것 > SSH' 카테고리의 다른 글

MAC SSH 접속용 Config 파일 설정하기  (2) 2024.10.10