Skip to main content
New Member
Nov 25, 2026 6:30 PM UTC
Question

FortiSwitch SSH Setup

I have a FortiSwitch that is using the FortiLink to a FortiGate. I am trying to SSH into the FortiSwitch but am having problems with the credentials on the switch. I thought the password would be the FortiGate admin password, but it is not. Is there a way I could create a user for this to work, or what is the best way around this so I can SSH into the device?
 

2 replies

funkylicious
SuperUser
SuperUser
Nov 25, 2026 7:09 PM UTC

 

Translate
"jack of all trades, master of none"
osoleimani
Staff
Staff
Nov 25, 2026 7:36 PM UTC

Hi wonkhuan2,

For a FortiLink-managed FortiSwitch, the FortiGate administrator password is not necessarily the same as the FortiSwitch admin password. The switch has its own admin account, and its password can be configured through the FortiGate switch profile.

Fortinet recommends managing the FortiSwitch admin password through the switch profile on the FortiGate.

You can configure it using the following CLI commands on the FortiGate:

config switch-controller switch-profile
    edit default
        set login-passwd-override enable
        set login-passwd <your-password>
    next
end

One important consideration: Applying this to the default switch profile can affect all FortiSwitches using that profile. If you only want to change the password on one switch, create a separate switch profile and assign it to that switch.

For more details, please refer to Fortinet's official documentation:

FortiSwitch Administration Guide – Changing the admin password on the FortiGate for all managed FortiSwitch units

I hope this helps clarify how to access your managed FortiSwitch.

Translate
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