PuTTY connection to Linux Server frequent disconnection solution, puttylinux

Source: Internet
Author: User

PuTTY connection to Linux Server frequent disconnection solution, puttylinux

After remotely connecting to the server, PuTTY often prompts "Software caused connection abort" when disconnected, and often loses the connection in a short time.


The solution is as follows:

Step 1: Set the server

1. Modify the/etc/ssh/sshd. config file on the server and set the value of LoginGraceTime to 0 and TCPKeepAlive to yes.

2. service sshd restart restarts the sshd service.


Step 2: Set "Sending of null packets to keep session active" in the Connection project on the left of PuTTY to send a packet every several seconds, so that the session will not expire. For example, the 10 seconds I set



Step 3:

If the server is on the LAN, check whether there is any IP conflict on the server. I am using virtual machine bridging, So I encountered this problem.

Use the arping command: arping-c 3-f-D *. * (replace it with the IP address you want to use)

For more information, see my other blog: http://blog.csdn.net/wyqwclsn/article/details/41013647


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.