putty登录linux出现network error:software caused connection abort解决办法

第一步:SSH指令输入:vi /etc/ssh/sshd_config 然后回车、
第二步:按下键,一直找到最后这里,你会看到倒数第二十行左右有这么一句话:ClientAliveInterval 0
第三步:修改数字0为60

第四步:按下esc,按下ctrl+Q,输入wq,回车保存即可!


  1. Start Putty
  2. Load your connection settings if you have them saved
  3. Click on “Connection”
  4. On the section that says "Sending of null packets to keep session active", Changed it to 5 seconds. 300 seconds may be better if network outages are your problem, read below for details.

你可能感兴趣的:(Linux)