Created on
06-06-2025
07:20 AM
Edited on
07-10-2025
10:57 PM
By
Jean-Philippe_P
| Description |
This article describes how to handle a situation where SSH to the FortiSwitch is not possible and regenerating SSH host keys via ssh-regen-keys is the only option.
|
| Scope | All FortiSwitch models. |
| Solution |
config switch-controller security-policy local-access edit default set mgmt-allowaccess ssh https ping telnet set internal-allowaccess ssh https ping telnet next end
FortiWiFi-80F-2R # execute telnet 10.255.1.3 S108EF5919xxxxxxx #execute ssh-regen-keys
config switch-controller security-policy local-access edit default set mgmt-allowaccess ssh https ping set internal-allowaccess ssh https ping next end
fnsysctl killall sshd
Refer to Troubleshooting Tip: SSH error 'No matching host key type found. Their offer:'. |
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.