Skip to main content
bmduncan33
New Member
September 27, 2022
Question

Cannot ssh from FortiGate to Managed Switch

  • September 27, 2022
  • 6 replies
  • 6583 views

Hello.  My FortiGates manages a bunch of FortiSwitches.  My gates runs 7.0.5 and my switches are at 7.0.4.  At one time I could right-click on a managed switch in FortiOS UI and choose Connect to cli, and a fresh ssh session would open.  Now I get percent_expand: unknown key %H.  I know I read about this problem in a release note somewhere and the fix was also listed.  I can't find that article again for some reason.  Has anyone else seen this and do you know the fix or can you send me the reference?  Thanks!

6 replies

gfleming
Staff
Staff
September 27, 2022

Does this happen when you try connecting to CLI of all your switches or just one?

 

What happens if you right-click and select "Diagnostics & Tools" and then click the CLI Access tab? Same error?

bmduncan33
New Member
September 27, 2022

Hello.  Its happening to all switches.  If I follow your directions and click the CLI Access Tab I get the same result percent_expand: unknown key %H.  Also, some switches in the UI show Diagnostics & Tools greyed out. 

 

Ever heard of this before?

gfleming
Staff
Staff
September 27, 2022

I have not seen this before, no. Have you opened a ticket with TAC?

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!