Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- JavaScript
- lsof
- Source
- GIT
- Eclipse
- find
- Windows 10
- ssh
- Quartz
- tomcat
- profile
- 단축키
- grep
- context
- xargs
- VirtualBox
- resource
- netsh
- Mac
- bash
- maVen
- Windows
- import
- vscode
- port
- 네트워크
- 줄바꿈 문자
- plugin
- IntelliJ
- web.xml
Archives
- Today
- Total
develog
[ssh] WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 본문
ssh 접속시 아래 오류가 발생
$ ssh 192.168.1.93
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:xheZJDi+Sg3WVvM+EU5nEijGF9SSuM05gmcuSicFhns.
Please contact your system administrator.
Add correct host key in /Users/myuser01/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/myuser01/.ssh/known_hosts:11
ECDSA host key for 192.168.1.93 has changed and you have requested strict checking.
Host key verification failed.
조치방법
- known_hosts 파일에서 key 를 삭제
$ ssh-keygen -R 192.168.1.93
# Host 192.168.1.93 found: line 11
/Users/myuser01/.ssh/known_hosts updated.
Original contents retained as /Users/myuser01/.ssh/known_hosts.old
ssh 접속되는지 확인
$ ssh 192.168.1.93
The authenticity of host '192.168.1.93 (192.168.1.93)' can't be established.
ECDSA key fingerprint is SHA256:xheZJDi+Sg3WVvM+EU5nEijGF9SSuM05gmcuSicFhns.
Are you sure you want to continue connecting (yes/no)?
Comments