Created on
01-19-2015
08:57 AM
Edited on
08-04-2025
09:19 AM
By
Stephen_G
Description
This article describes how to configure PuTTY to create a log file of a session.
This is useful in cases where Fortinet support requests the output of commands, or there is a need to ensure the output of all troubleshooting commands will be collected and saved.
Scope
FortiGate.
Solution
On the left menu select Connection -> Enable the keepalive every 2 seconds.
Related Video:
Linux and macOS devices logging SSH sessions:
On these platforms, PuTTY is not widely used. It is common to instead call a built-in SSH client directly from a terminal window. The 'tee' command can be used in conjunction with SSH to log session output to a file. See Technical Tip: Logging FortiGate administrative SSH sessions from Linux/MacOS endpoints.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.