By default, version 2 of the SSH protocol is enabled. To configure the router to use only version 1of the SSH protocol, include the protocol-version statement and specify v1 at the [edit system services ssh] hierarchy level:
- [edit system services ssh]
-
protocol-version [ v1 ];
To configure the router to use version 1 and 2 of the SSH protocol, include the protocol-version statement and specify v1 and v2 at the [edit system services ssh] hierarchy level:
- [edit system services ssh]
-
protocol-version [ v1 v2 ];
You can specify v1, v2, or both versions ([ v1 v2 ]) of the SSH protocol. The default is v2.
For J-series Services Routers, the export license software only supports SSH version 1.
![]() |
Note: The root-login and protocol-version statements are supported in JUNOS Release 5.0 and later. If you downgrade to a release prior to release 5.0, the root-login and protocol-version statements are ignored if they are present in the configuration file. |