Ssh connection to Linux is automatically disconnected and cannot be connected again

Source: Internet
Author: User
Ssh connection to Linux is automatically disconnected and cannot be connected any more. recently, the company's testing machine is a little crazy. The situation is as follows: it is normal to use after logging on to SSH, but another computer is also logged on, at this time, all disconnections will occur, and the connection will no longer be available. even the IP address cannot be pinged. Try at/etc /...
Ssh connection to Linux is automatically disconnected and cannot be connected any more. recently, the company's testing machine is a little crazy. The situation is as follows: it can be used normally after logging on to Linux using SSH, but another computer
You are also logged on. at this time, all connections will be disconnected, and you will not be able to connect any more. you cannot even PING the IP address. Today, I tried to add the following content to/etc/hosts. deny: sshd: all and then restart the xinetd process: service xinetd restart. I tried logon from several different IP addresses and found that the problem was solved. Setting SSH to allow access by all users. although I do not know the underlying reasons, the problem is finally solved.
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.