| Description | This article describes how to configure Public Key Authentication from FortiNAC to FortiGate by generating an SSH public key on FortiNAC and enabling secure, passwordless administrative access on the FortiGate device. |
| Scope | FortiNAC, FortiNAC-F. |
| Solution |
execute ssh-authentcation-key list nac
If the default key is not intended for use, a new public key can be generated using the command below.
execute ssh-authentication-keys generate nac ssh-ed25519
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICQxxxxxxxxx/XZGpYAUdJVUlXZDVehWY+DN8 nac@ca1
When the key is implemented on the FortiGate, the 'nac@ca1' identifier at the end must not be included.
config system admin
Related article: |
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.