Technical Tip: Unable to SSH into the FortiSwitch from the FortiGate due to error 'No matching host key type found'
| 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:'. |
