scp 报错 Host key verification failed.WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

scp settings.xml zzy@192.168.###.###:/home/zzy

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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:OdZRpWKuUVPT+Pt7lYWhlossgfegeG9pPEmKlsJOU.

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:41

Host key for 192.168.###.### has changed and you have requested strict checking.

Host key verification failed.

lost connection




删除掉/root/.ssh中的known_hosts文件里面的,你要scp的服务器的记录

重新再来

ok

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容