Skip to main content
sjoshi
Staff
Staff
Apr 4, 2025 11:41 AM UTC

Troubleshooting Tip: Authentication general script using Tera Term

Description

 

This article describes how to troubleshoot and create a general authentication script using Tera Term.

 

Scope

 

FortiOS.

 

Solution

 

The following script is designed to gather relevant debug information related to authentication issues. Issues may be encountered where user authentication sessions get timed out intermittently or experience authentication failure. A script can be used to capture logs automatically. This will help ensure that all necessary data is collected in advance before opening a case with TAC.

 

Refer to Troubleshooting Tip: Preparing windows machine to run Teraterm scripts for instructions on how to use Tera Term.

 

Note:

 

If the script logs out automatically, try increasing the login timeout duration using the following command:


config system global
    set admin-ssh-grace-time <number_of_seconds> <max 3600 seconds>

    set admintimeout  <number_of_minutes< << max 480 minutes
end

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024