반응형
개요
사용하던 SSH 서버
를 벗어나 다른 SSH 서버로 변경
하려고 하니 에러 메시지가 발생했다.
SSH
에 접속하려고 시도하였다.
ssh user@10.10.10.10
WARNING
메시지가 떴다.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:HVKjr0a...a104xne/azX/2v02.
Please contact your system administrator.
Add correct host key in /Users/cho/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/cho/.ssh/known_hosts:4
Host key for 10.10.10.10 has changed and you have requested strict checking.
Host key verification failed.
원인
기존에 접속한 서버와 RSA 공유키
를 교환
한 상태였는데, 다른 서버로 변경
되었기 때문에 경고 메시지가 발생한 것이다.
해결방법
SSH 키
를 초기화하면 간단하게 해결된다.
ssh-keygen -R <서버_경로>
아래는 예시이다.
ssh-keygen -R 10.10.10.10
반응형
'프론트엔드 > 트러블 슈팅' 카테고리의 다른 글
git push origin 할때 `error TS2688: Cannot find type definition file` lint 에러가 발생한 현상 (0) | 2023.02.02 |
---|---|
npm start 시 loader.js 에서 throw err 가 발생하는 현상 해결 (0) | 2023.01.31 |
MacOS/맥북/M1 - node 가 정상적으로 동작하지 않는 현상 (0) | 2023.01.30 |
MacOS/맥북/M1 - HomeBrew 설치 후 brew 명령어를 찾을 수 없는 문제 해결 (zsh: command not found: brew) (0) | 2023.01.27 |
타입스크립트를 설치해도 tsc 명령어가 동작하지 않는 현상 해결 (0) | 2023.01.26 |