| Description |
This article describes how to resolve an issue where, when trying to import the private key into FortiOS (for example, an SSH proxy local-key), an error appears due to an incorrect format. |
| Scope | FortiOS. |
| Solution |
In Windows 10 and Windows 11, there is a built-in SSH keygen which can be used to generate the SSH public and private key pair.
config firewall ssh local-key edit <name> set password {password} <- The private key password. set private-key {user} <- Private key. set public-key {user} <- Public key. set source [built-in|user] next end
|
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.