Description

This article describes how after an initial installation or an upgrade by using a Junos Worldwide (export) version, the Secure Shell (SSH) daemon is not found. 

Symptoms

After installing a Junos export version on an M Series or T Series router, the following message appears when trying to commit a configuration that includes SSH service under the system configuration hierarchy.
 

user@router# commit
[edit system services ssh]
  'ssh'
    warning: daemon binary /usr/sbin/sshd not found
commit complete


Note: From releases 15 and higher,  there is no more export package. Instead, they are named limited. With limited, ssh package is not listed under >show version. However, if you configure it, the process appears under >show system process extensiv

 When trying to enable SSH version 2 on a J Series or SRX Series device, an error similar to the following can be seen:

      sshd [3238]: fatal: /var/etc/sshd_conf line 1: Bad protocol spec 2

Solution

This is expected behavior, as the Junos export version does not include the SSH protocol for M Series and T Series routers. Only J Series and SRX Series devices provide limited SSH support for SSH version 1.

If complete support for SSH is required, a Junos domestic version needs to be installed. Customers must have a valid encryption agreement to download a domestic Junos version.

The domestic version can be downloaded from the link below:
https://www.juniper.net/support/downloads/junos.html


Procedure:

  1. Select the device for which you want to download the Domestic Junos release from the download page link above.
  • Click on the ‘Software’ TAB and select the Junos Release form the drop down.
  • Also select the type of Junos release that you wish to download. There are two options available: Junos US/Canada (also called 'Domestic' version) and Junos Worldwide.

After downloading the software, refer to the Installation and Upgrade Guide for more information.

Modification History

.2022-07-21: Added a note in they Symptoms section regarding the name change of the packages beginning from releases 15.

Related Information