728x90
A 서버에서 B 서버로 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:.....
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:3
remove with:
ssh-keygen -f '/root/.ssh/known_hosts' -R '192.168.0.100'
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
UpdateHostkeys is disabled because the host key is not trusted.
root@192.168.0.100: Permission denied (publickey,password).
위와 같이 퍼미션 오류가 뜨면서 문제가 발생
해당 오류는 B라는 서버가 새로 설치되면서 기존 A서버에서 가지고 있던 B의 정보 키가 바뀌면서
접속을 제한 걸려서 나온 증상으로
경고창 중간에 보이는 /root/.ssh/known_hosts 파일의 문제로
해당 파일을 삭제 후 재 실행하니 정상적으로 실행되는것을 확인했습니다
제 글이 도움이 되셨다면 댓글 & 공감 부탁드려요 😀
728x90
반응형
'OS > Linux(Ubuntu)' 카테고리의 다른 글
[Linux/Ubuntu] 24.04 LTS 바탕화면 바로가기 만들기 (0) | 2024.08.09 |
---|---|
[Linux/Ubuntu] 노트북 덮개 닫을 시 절전 모드 해제 방법 (0) | 2023.12.27 |
[Linux/Ubuntu] a start job is running for wait for network... (0) | 2023.12.27 |
[Linux/Ubuntu] 화면 자동 꺼짐 설정 (0) | 2023.07.13 |
[Linux/Ubuntu] 16.04 LTS Realtek 8125 드라이버 설치 (0) | 2023.07.04 |