Putty connecting Linux servers often break solutions

Source: Internet
Author: User

Putty after a remote connection to the server, it often prompts "software caused connection abort" and often loses connectivity in a short period of time.


The solution is as follows:

First step : Set up the server

1, modify the server/etc/ssh/sshd.config file, set the value of Logingracetime to 0,tcpkeepalive set to Yes

2, service sshd restart restart sshd services.


Step two : Set the putty left connection project to set "sending of NULL packets to keep session active", set to send a packet every few seconds to keep the session from expiring. As I set the 10 seconds



Step three :

If the server is on the LAN, check the server for IP conflicts, I am using a virtual machine bridge, so I encountered this problem

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

You can view my other blog: http://blog.csdn.net/wyqwclsn/article/details/41013647


Putty connecting Linux servers often break solutions

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.