Technical Tip: How to minimize occurrence of unexpected closure of putty sessions to FortiGate
| Description | This article describes the issue 'Network Error: Software caused connection abort' when Putty sessions to FortiGate close unexpectedly. |
| Scope | FortiGate. |
| Solution | Steps to configure Putty.
Rationale. FortiGate monitors connections and may assume a session is inactive if no data is exchanged for a specific period. If this happens, FortiGate might unexpectedly close the PuTTY session due to the lack of traffic. To avoid this, PuTTY offers a 'keepalive' feature (‘Seconds between keepalives’) that lets one set an interval for sending data through the session without interrupting the terminal activity. If FortiGate is disconnecting idle connections, try setting a non-zero value in this field. The value is in seconds; for example, if the FortiGate disconnects after ten minutes, set it to 300 seconds (5 minutes) to keep the session alive. |

