SSH cannot be connected and the remote host identification has changed is prompted

Source: Internet
Author: User
Tags rsync

SSH cannot be connected and the system prompts remote host identification has changed solution:

If the message is as follows:

@ Warning: remote host identification haschanged! @

It is possiblethat someone is doing something nasty!

Someone couldbe eavesdropping on you right now (man-in-the-middle attack )!

It is alsopossible that the RSA host key has just been changed.

Thefingerprint for the RSA key sent by the remote host is

3c: 3C: 4b: F9: 37: 2f: 76: 61: 15: 65: E5: 80: 1b: DB: A7: 3C.

Please contactyour system administrator.

Add correcthost key in/root/. Ssh/known_hosts to get rid of this message.

Offending keyin/root/. Ssh/known_hosts: 15

RSA host keyfor 192.168.0.252 has changed and you have requested strict checking.

Host keyverification failed.

Rsync: Connection unexpectedly closed (0 bytes encoded Ed so far) [Sender]

Rsync error: Error in rsync protocol data stream (Code 12) at I/O. C (359)

Solution:

VI/root/. Ssh/known_hosts

Find the IP address of the host you want to connect to and delete all the information in that line (that is, one line)

SSH cannot be connected and the remote host identification has changed is prompted

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.