[root@ceph1 ceph]# scp root@192.168.51.206:/etc/ceph/ceph.conf root@192.168.51.212:/root @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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:USPeF4jTZDOv4uSyLhKx/lCUYkK/4fjb/QzIxO90akc. 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.51.212 has changed and you have requested strict checking. Host key verification failed. lost connection Connection to 192.168.51.206 closed.
解决方法:
ssh-keygen -R 192.168.51.212
解决方法 2:
vim ~/.ssh/known_hosts
- 重置 ssh 秘钥:
ssh-keygen -p
把相关远程主机信息删掉
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于