ssh로 ubuntu에 원격접속할 때 나타나는 에러이다.
- 하지만 이런 과정을 2번하거나
- 전에 사용했던 ip를 사용해서 또 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 ECDSA key sent by the remote host is
SHA256:E3bf/QFHtKSkDVqK7bXbPbEtJ3+XOw3IxW45zmWnYTo.
Please contact your system administrator.
Add correct host key in C:\\Users\\tjtjd/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\\Users\\tjtjd/.ssh/known_hosts:9
ECDSA host key for 192.168.56.101 has changed and you have requested strict checking.
Host key verification failed.
PS C:\Users\tjtjd> ssh-keygen -R 192.168.56.101
# Host 192.168.56.101 found: line 9
C:\Users\tjtjd/.ssh/known_hosts updated.
Original contents retained as C:\Users\tjtjd/.ssh/known_hosts.old
ssh가 처음에 연결했던거랑 달라서 띠용? 한 경우이다. 아래처럼 재 설정하면 다시 접속이 완료된다.
ssh-keygen -R [ IP or DomainName]
#ssh-keygen -R 192.168.56.101
그 이후 YES 입력!
'Elastic > ubuntu' 카테고리의 다른 글
Failed to load VMMR0.r0 에러해결 (0) | 2022.08.22 |
---|---|
외부ip로 Virtualbox 내 서버 접속하기 (0) | 2022.08.20 |
ubuntu 검은화면 에러 해결 (실행안될 때) (0) | 2022.08.18 |
ssh로 ubuntu (VirtualBox) 원격 접속하기 (0) | 2022.08.18 |
"Temporary failure in name resolution" ubuntu 에러 해결 (0) | 2022.08.18 |