본문 바로가기

728x90

호스트 키 확인 실패

[draft] SSH 호스트 키가 변경되었을 때 발생하는 경고 메시지를 해결하는 방법 SSH 호스트 키가 변경되었을 때 발생하는 경고 메시지를 해결하는 방법SSH 호스트 키가 변경되었을 때 발생하는 경고 메시지$ ssh-copy-id vagrant@172.17.0.3/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/vagrant/.ssh/id_rsa.pub"/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed/usr/bin/ssh-copy-id: ERROR: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ER.. 더보기
ssh "Host key verification failed" 오류 해결 방법 ssh "Host key verification failed" 오류 해결 방법 $ ssh root@192.168.0.158 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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.. 더보기
Ansible fingerprint 접속 오류 Ansible fingerprint 접속 오류 ansible.cfg 파일에서 fingerprint 옵션을 False로 설정하여 Ansible에서 SSH 지문 검사를 비활성화할 수 있습니다. 이를 통해 Ansible은 SSH 연결 시 서버의 호스트 키를 검사하지 않습니다. fatal: [node2]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Host key verification failed.", "unreachable": true} Ansible fingerprint 접속 오류는 Ansible이 SSH 연결 시 호스트 키를 검증할 때 발생할 수 있는 오류입니다. 이 오류는 호스트 키가 변경되었거나 호.. 더보기

728x90