Edit

SSH 접속 시 RSA 공유키 충돌


SSH 접속 시 에러 발생

oneandonlymeui-MacBook-Pro:~ oneandonlyme$ ssh root@10.1.5.131
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:sEnOZXCog1/5MeweSBxTae573Dd69y0bVeC0CAZlO8g.
Please contact your system administrator.
Add correct host key in /Users/oneandonlyme/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/oneandonlyme/.ssh/known_hosts:16
ECDSA host key for 10.1.5.131 has changed and you have requested strict checking.
Host key verification failed.

10.1.5.131 서버와 이미 RSA 공유키를 교환한 상태여서 서버가 변경되어도 이전 RSA 공유키를 이용하여 접근하려고 하기 때문에 오류 발생

# ssh-keygen -R 192.168.0.7

완료

%23%20SSH%20%uC811%uC18D%20%uC2DC%20RSA%20%uACF5%uC720%uD0A4%20%uCDA9%uB3CC%0A%0A@%28%uAC1C%uBC1C%uB044%uC791%uC5EC%uBD04%29%5BMarxico%5D%5B%uD2F0%uC2A4%uD1A0%uB9AC%5D%0ASSH%20%uC811%uC18D%20%uC2DC%20%uC5D0%uB7EC%20%uBC1C%uC0DD%0A%60%60%60%0Aoneandonlymeui-MacBook-Pro%3A%7E%20oneandonlyme%24%20ssh%20root@10.1.5.131%0A@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%0A@%20%20%20%20WARNING%3A%20REMOTE%20HOST%20IDENTIFICATION%20HAS%20CHANGED%21%20%20%20%20%20@%0A@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%0AIT%20IS%20POSSIBLE%20THAT%20SOMEONE%20IS%20DOING%20SOMETHING%20NASTY%21%0ASomeone%20could%20be%20eavesdropping%20on%20you%20right%20now%20%28man-in-the-middle%20attack%29%21%0AIt%20is%20also%20possible%20that%20a%20host%20key%20has%20just%20been%20changed.%0AThe%20fingerprint%20for%20the%20ECDSA%20key%20sent%20by%20the%20remote%20host%20is%0ASHA256%3AsEnOZXCog1/5MeweSBxTae573Dd69y0bVeC0CAZlO8g.%0APlease%20contact%20your%20system%20administrator.%0AAdd%20correct%20host%20key%20in%20/Users/oneandonlyme/.ssh/known_hosts%20to%20get%20rid%20of%20this%20message.%0AOffending%20ECDSA%20key%20in%20/Users/oneandonlyme/.ssh/known_hosts%3A16%0AECDSA%20host%20key%20for%2010.1.5.131%20has%20changed%20and%20you%20have%20requested%20strict%20checking.%0AHost%20key%20verification%20failed.%0A%60%60%60%0A%21%5BAlt%20text%5D%28./%u1109%u1173%u110F%u1173%u1105%u1175%u11AB%u1109%u1163%u11BA%202018-03-26%20%u110B%u1169%u1112%u116E%201.20.04.png%29%0A%0A10.1.5.131%20%uC11C%uBC84%uC640%20%uC774%uBBF8%20RSA%20%uACF5%uC720%uD0A4%uB97C%20%uAD50%uD658%uD55C%20%uC0C1%uD0DC%uC5EC%uC11C%20%uC11C%uBC84%uAC00%20%uBCC0%uACBD%uB418%uC5B4%uB3C4%20%uC774%uC804%20RSA%20%uACF5%uC720%uD0A4%uB97C%20%uC774%uC6A9%uD558%uC5EC%20%uC811%uADFC%uD558%uB824%uACE0%20%uD558%uAE30%20%uB54C%uBB38%uC5D0%20%uC624%uB958%20%uBC1C%uC0DD%0A%60%60%60%0A%23%20ssh-keygen%20-R%20192.168.0.7%0A%60%60%60%0A%21%5BAlt%20text%5D%28./%u1109%u1173%u110F%u1173%u1105%u1175%u11AB%u1109%u1163%u11BA%202018-03-26%20%u110B%u1169%u1112%u116E%201.20.21.png%29%0A%0A%0A%uC644%uB8CC%0A%21%5BAlt%20text%5D%28./%u1109%u1173%u110F%u1173%u1105%u1175%u11AB%u1109%u1163%u11BA%202018-03-26%20%u110B%u1169%u1112%u116E%201.20.47.png%29%0A

1 2 3 4 5 

카운터

Total : 94,995 / Today : 11 / Yesterday : 30
get rsstistory!