SSH Login error remote HOST identification has changed!

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.