Skip to main content
chedstrom
New Member
September 9, 2025
Question

Using CLI Console in GUI times out after 50 seconds idle

  • September 9, 2025
  • 9 replies
  • 1353 views

I've cross checked the knowledge base multiple ways on this issue, and I'm can't tell if this is a setting or a firmware issue or just hard coded.

 

Firmware is 7.2.11 on a Fortigate 80e

 

I use the CLI console from the GUI often. Mainly I use it to SSH to switches and work in that manner. I do this because of company policies. But there is a very annoying feature that I can't seem to resolve. If the CLI Console in the GUI is idle for 50 seconds, I lose my connection. I have to press enter to start again. This can be very annoying when I'm connected to another device and trying to work. I've confirmed this with a stop watch and it will end the session 50 seconds after typing has stopped. 

 

Is there a setting for this? Or was this just poor thinking by the engineers?

9 replies

Toshi_Esumi
SuperUser
SuperUser
September 9, 2025

I think it's on the switch side you're SSHing into. Have you compared with a direct SSH into the same switch (not from the FGT but from your machine routed through the FGT)? I think it would still time out in 50 sec on idle.

Toshi

chedstrom
chedstromAuthor
New Member
September 10, 2025

No its not. I sat at the command prompt without connecting to anything. And 50 seconds later, it kicked me out.

 

Edit: I further tested by entering commands for 1 minute then stopped. And at 1:50 I was kicked off. So I confirmed its a 50 second idle timer on the CLI Console.

 

Toshi_Esumi
SuperUser
SuperUser
September 10, 2025

Generally console timer is separated from SSH session timer, like cisco switches.

Toshi

Burak_Kelleci
New Member
September 10, 2025

you can try set via Gui
Setting= > Idle time out 
you can set 1 to 480 Minute

 

Ekran görüntüsü 2025-09-10 174053.png

 

chedstrom
chedstromAuthor
New Member
September 10, 2025

That was the first place I looked but its already set to 60 minutes.

Toshi_Esumi
SuperUser
SuperUser
September 10, 2025

Besides, if that timer times out, it would kick off the admin user from the GUI. And the user need to re-log in to the GUI.

HarryTran
Staff
Staff
September 12, 2025

This issue does not happen to me on the same platform and OS (FortiGate-80E v7.2.11,build1740). The remote session is maintained active until the time-out expired on the remote-host.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!