Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

hostkey-algorithm-list

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
hostkey-algorithm-list (ecdsa-sha2-nistp256 | ecdsa-sha2-nistp384 | ecdsa-sha2-nistp521 | ed25519 | rsa)

Hierarchy Level

content_copy zoom_out_map
[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.

footer-navigation