hostkey-algorithm-list
Syntax
hostkey-algorithm-list (ecdsa-sha2-nistp256 | ecdsa-sha2-nistp384 | ecdsa-sha2-nistp521 | ed25519 | rsa)
Hierarchy Level
[edit system services ssh]
Description
Configure the specified SSH hostkey algorithms. The system automatically disables the remaining unspecified hostkey algorithms.
Note:
This configuration statement replaces the system services ssh
hostkey-algorithm
statement starting in Junos OS
Release 22.3R1.
Default
All hostkey algorithms are enabled by default.
Options
ecdsa-sha2-nistp256 | Allow generation of ECDSA host-key with NIST P-256 curve. |
ecdsa-sha2-nistp384 | Allow generation of ECDSA host-key with NIST P-384 curve. |
ecdsa-sha2-nistp521 | Allow generation of ECDSA host-key with NIST P-521 curve |
ed25519 | Allow generation of EdDSA host-key with curve25519. |
rsa | Allow generation of 2048-bit RSA host-key |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 22.3R1.