Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

protocol-version

 

Syntax

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for OCX Series switches.

Description

Specify the Secure Shell (SSH) protocol version.

Starting in Junos OS Release 19.3R1 and Junos OS Release 18.3R3, on all SRX Series devices, we’ve removed the nonsecure SSH protocol version 1 (v1) option from the [edit system services ssh protocol-version] hierarchy level. You can use the SSH protocol version 2 (v2) as the default option to remotely manage systems and applications. With the v1 option deprecated, Junos OS is compatible with OpenSSH 7.4 and later versions.

Junos OS Release earlier to 19.3R1 and 18.3R3 continue to support the v1 option to remotely manage systems and applications.

Default

v2—SSH protocol version 2 is the default, introduced in Junos OS Release 11.4.

Options

SSH protocol version v2.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.