LInux SSH connection error and solution, linuxssh

Source: Internet
Author: User

LInux SSH connection error and solution, linuxssh
This may occur when the Linux system accesses a remote host:

[kiosk@fundation20 ~]$ ssh root@172.25.20.1 -X@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is also possible that a host key has just been changed.The fingerprint for the RSA key sent by the remote host ise6:08:b3:4c:c5:ed:f6:51:b0:68:aa:0a:2e:9a:02:28.Please contact your system administrator.Add correct host key in /home/kiosk/.ssh/known_hosts to get rid of this message.Offending RSA key in /home/kiosk/.ssh/known_hosts:9RSA host key for 172.25.20.1 has changed and you have requested strict checking.Host key verification failed.
Solution
[kiosk@fundation20 ~]$ rm -fr /home/kiosk/.ssh/known_hosts
Connect again
[kiosk@fundation20 ~]$ ssh root@172.25.20.1 -XThe authenticity of host '172.25.20.1 (172.25.20.1)' can't be established.RSA key fingerprint is 97:cf:3b:f8:be:fc:2f:c1:ee:be:1b:ab:2f:fe:a7:ff.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '172.25.20.1' (RSA) to the list of known hosts.root@172.25.20.1's password: Last login: Tue Jan 30 19:50:06 2018 from 172.25.20.250[root@server1 ~]# 

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.