SSH: Ubuntu 10.10 SSH Error

Source: Internet
Author: User
I used to use SSH to log on to the company's server! However, today it went on strike. As usual, enter the command in the terminal to log on to the server: sudossh-lroot192.168.0.88sorry, which prompts the following information: @@@@@@@@@@@@@@@@@@@&

I used to use SSH to log on to the company's server! However, today it went on strike.

Enter commands on the terminal to log on to the server as usual:

  1. Sudo ssh-l root192.168.0.88
Sorry, which prompts the following information:
  1. @ WARNING: remote host identification has changed! @
  2. It is possible that someone is doing something nasty!
  3. Someone cocould be eavesdropping on you right now (man-in-the-middle attack )!
  4. It is also possible that the RSA host key has just been changed.
  5. The fingerprintForThe RSA key sent by the remote host is
  6. 51:58: C2: b3: d3: 7a: e6: bb:20: Bd: 5b:37: A1:87: Cc: de.
  7. Please contact your system administrator.
  8. Add correct host key in/root/. ssh/known_hosts to get ridThisMessage.
  9. Offending key in/root/. ssh/known_hosts:1
  10. RSA host keyFor 192.168.0.88Has changed and you have requested strict checking.
  11. Host key verification failed.
Linux is good. If there is an error, it will prompt you where the error is. According to the printed information, I solved the problem.

Use a superuser to enter the root/directory:

  1. Su
Enter the superuser password to enter the/root/directory:
  1. Cd/root
View all the files under the Directory and find the. ssh directory. Go to it!
  1. Ls-al
  2. Cd. ssh/

There is a file known_hosts under this directory. Use vim to open the file:

  1. Vim known_hosts
Delete the content. If you are still afraid of errors, you can back up the content before deleting it!

Log On again using SSH. The following information is displayed:

  1. The authenticity of host'1970. 168.0.88 (192.168.0.88 )'Can't be established.
  2. RSA key fingerprint is51:58: C2: b3: d3: 7a: e6: bb:20: Bd: 5b:37: A1:87: Cc: de.
  3. Are you sure you wantContinueConnecting (yes/no )?
Yes! Done!
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.