기존의 사용하던 서버 및 단말의 정보를 변경 후 아래와 같은 문제 발생 시
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # pssh -h dept.hosts -i ls [1] 14:06:49 [FAILURE] root@192.168.0.26 Exited with error code 255 Stderr: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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:qo/WOgVXbxSOZIivYXQJ4ZcxmZ88lqgRYwivbObzHYc. 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:4 ECDSA host key for 192.168.0.26 has changed and you have requested strict checking. Host key verification failed. | cs |
다음의 명령어로 초기화
1 2 3 4 5 | # ssh-keygen -R 192.168.0.26 # Host 192.168.0.26 found: line 3 /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old | cs |
확인
1 2 3 4 | [3] 14:12:01 [SUCCESS] root@192.168.0.26 anaconda-ks.cfg initial-setup-ks.cfg | cs |
'Tools > PSSH' 카테고리의 다른 글
CentOS PSSH 설치 (0) | 2018.06.01 |
---|