The following message is displayed: REMOTEHOSTIDENTIFICATIONHASCHANGED!

Source: Internet
Author: User
Tags scp command
The following error is prompted when you copy data using the scp command today: @ WARNING: REMOTEHOSTIDENTIFICATIONHASCHANGED!

The following error is prompted when you copy data using the scp command today:

@ WARNING: remote host identification has changed! @

It is possible that someone is doing something nasty!
Someone cocould be eavesdropping on you right now (man-in-the-middle attack )!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
25: AB: 2e: 55: 30: 11: a0: 84: d8: 45: 2f: 5b: e2: 47: eb: 1e.
Please contact your system administrator.
Add correct host key in/root/. ssh/known_hosts to get rid of this message.
Offending key in/root/. ssh/known_hosts: 1
RSA host key for 192.168.1.240 has changed and you have requested strict checking.
Host key verification failed.
Lost connection

At first, I thought it was a command error. after careful consideration, it turned out that the key verification error was, possibly because my account information had been changed.
 

Find the following ssh connection folder in the user's home directory:
1. cd ~ /. Ssh/
2. vi known_hosts
3. find the key saving information consistent with the remote host ip address, directly delete dd, and then: x save and exit
4. reconnect and enter the password. the connection is successful.

Problem solving

This article is from the "original" blog

Related Article

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.