Trouble Shooting1--macbook Pro terminal connection on cloud host

Source: Internet
Author: User
Tags macbook

Terminal input: SSH [email protected] server address

Error message:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Warning:remote HOST Identification has changed!

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT is POSSIBLE this SOMEONE is DOING SOMETHING nasty! Someone could be eavesdropping on your right

Now (Man-in-the-middle attack)! It is also possible, a host key has just been changed. The fingerprint for the

RSA key sent by the remote host isSHA256: Here everyone is different please contact your system administrator. Add correct

Host key in/users/anan/.ssh/known_hosts to get rid of the this message. Offending RSA Key In/users/anan/.ssh/known

_hosts:1rsa host key for here is the IP of the server has changed and we have requested strict checking. Host Key verification failed.

Workaround:

Terminal input:

Ssh-keygen-r Enter the IP of the server

SSH [email protected] server address

Appears: Is you sure want to continue connecting (yes/no)?

Enter Yes,
The connection is complete! At the same time, new certifications have generated
Use Terminal connection server mode under Mac

Reason:

When the first SSH connection is made, an authentication is generated that is stored in the client (that is, the one that known_hosts the other computer with SSH),

However, if the server is verified, the authentication information will certainly change, the server side and the client is not the same, will be out of error ~ so as long as the computer in the certification

The message is deleted, the connection is regenerated (delete instruction: ssh-keygen-r input server IP)

Trouble Shooting1--macbook Pro terminal connection on cloud host

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.