Xonclosedbyforeignhost. Error reported by xshell link in Ubuntu12.04

Source: Internet
Author: User
Tags connection reset
In Ubuntu12.04, The xshell link reports Readfromsocketfailed: Connectionresetbypeer or Connectionclosedbyforeignhost. solution to the error: the cause of the problem is that the file familiarity in the/etc/ssh directory has been modified. You can change the file to the original state: cd/etc/sshsudochmod644./* su.

In Ubuntu 12.04, The xshell link reports: Read from socket failed: Connection reset by peer or Connection closed by foreign host. Solution to the error:

The cause of this problem is that the file familiarity in the/etc/ssh directory has been modified, and you can change it back to the original state:

Cd/etc/ssh

Sudo chmod 644 ./*

Sudo chmod 600 ssh_host_dsa_key

Sudo chmod 600 ssh_host_rsa_key

Sudo chmod 755.

 

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.