This article details how to check the OpenSSH version that is installed on your device, so that you can determine the security vulnerabilities that are addressed in the version.
Note: Some security vulnerabilities are addressed in more recent versions of OpenSSH.
I want to know the OpenSSH version installed on my device so that I can check the security vulnerabilities it addresses.
To check the version of OpenSSH installed on your device, which is running a particular Junos OS version, execute the ssh -V command on the shell in Junos OS.
root@router-re0% ssh -VOpenSSH_6.0, SSH protocols 1.5/2.0, OpenSSL 0.9.8y 5 Feb 2013SSH release 12.3R4.6 built by builder on 2013-09-13 03:19:31 UTC
To check the OpenSSH version installed on a device running Junos OS Release 20.4R1-S1.2:
root@router-re0% ssh -VOpenSSH_7.5, SSH protocols 1.5/2.0, OpenSSL 1.0.2u 20 Dec 2019SSH release 20.1R20200807_1419_builder built by builder on 2020-08-07 14:24:58 UTC
2026-02-09: Minor, non-technical changes made for search optimization
2024-08-19: Removed E-series from the product category as it is EOS
2018-08-21: Modified list in Solution section to include Junos OS 15.1X49-D100 and later, and releases 17.3, 17.4, 18.1, and 18.
2019-03-29: Removed list of Junos OS versions. Left instructions on how to find the version.
2022-07-08: Added example for release 20.4R1-S1.2. Article is still valid and relevant.