从远程机器拉取文件报错:
[root@snamenode keytab]# scp dp.jerry.keytab http.jerry.keytab jerry@localhost:/home/jerry/14keytab
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:f3b7vUTF+YLhP5G0gvEESyX6SKjZ01awHntpIe9KsgY.
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:6
ECDSA host key for 10.111.23.70 has changed and you have requested strict checking.
Host key verification failed.
原因:本地因为重装系统后,再次登录远程机器,新的机器标识和原来远程机器保存的本地机器标识不一致,需要删除旧有的本地机器标识,再次登录就可以
解决:删除 远程机器所在的 /root/.ssh/known_hosts 下 ,自己IP的配置
本机IP ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPL1rGbFk0HAnaLyeh9n1P5jA+9msRuqpf50sC7Q5r5/jWqKA7LFAOidHsqmDh79J24Yeq4Of5OSTKVcDrD0kdk=