SSH Login to remote host error:
[XX@XX~]$ SSH Monitor@xxx. xxx.xxx.xxx@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ warning:remote HOST Identification has changed! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT is POSSIBLE this SOMEONE is DOING SOMETHING nasty! Someone could is eavesdropping on your right now (man-inch-the-middle attack)! It is also possible, a host key has just been changed. The fingerprint forThe RSA key sent by the remote host is6E: $: F9:a8:af: -:3D:A1:A5:C7: the:1D: Geneva: F8: the:xx.Please contact yoursystemAdministrator. ADD Correct host keyinch/home/xx/.ssh/known_hosts to get rid of the this message. Offending RSA Keyinch/var/lib/sss/pubconf/known_hosts:4RSA Host Key forPong has changed and you have requested strict checking. Host Key verification failed.
Suddenly understood, the target machine has just installed the new system Fedora 22, its ssh_key is new. Ssh_key is stored in the know_hosts of the machine before reloading. So now reload the system and then log in to 2 key to conflict, reported the above error.
There are 2 solutions:
1. Delete the old ssh_key of the native storage
vi ~/.ssh/known_hosts
2. Update the known_hosts of this machine
ssh-keygen-R hostname(IP)
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
SSH Login error remote HOST identification has changed!