After remotely connecting to the server, PuTTY often prompts "Softwarecausedconnectionabort" when disconnected, and often loses the connection in a short time. Solution: Step 1: Set Server 1. Modify the etcsshsshd. config file on the server, set LoginGraceTime to 0, and TCPKeepAlive to yes2.
After remotely connecting to the server, PuTTY often prompts "Software caused connection abort" when disconnected, and often loses the connection in a short time. Solution: Step 1: Set Server 1. Modify the/etc/ssh/sshd. config file on the server, set LoginGraceTime to 0, and TCPKeepAlive to yes 2.
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
This problem occurs because of Virtual Machine bridging.
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