Re: SSH service in Junos 4.4R1.45

From: Markolf Gudjons (eedmgu@eed.ericsson.se)
Date: Tue Aug 21 2001 - 14:14:01 EDT


Lukman,

sorry for the late answer; I just returned from vacation.

On Mon, 6 Aug 2001, Lukman W. Kusuma wrote:

> I am trying to enable SSH access into 3 M20 by adding service ssh and
> ssh-rsa key into root-auth & each user account, but looks like the
> service is not started at all. Though I use "activate system service
> ssh", no effect.
I had the same problem after upgrading an M40 to 4.4R1.5. In my opinion
there is a bug in that /etc/ssh_host_key and /etc/ssh_host_key.pub are not
being generated. The ssh-keygen utility is missing in the ssh package.

You need to either generate the key on another machine and transfer the
files or compile ssh-keygen yourself. The former is probably easier. Make
sure to set the permissions correctly.

Also, verify ssh is correctly configured in /etc/inetd.conf:

% grep ssh inetd.conf
ssh stream tcp nowait/20/150 root /usr/sbin/sshd sshd -i

I hadn't submitted a bug report back when I hit this, but I probably
should have.

- Markolf

-- 
Markolf Gudjons                         EED/S/OE Senior System Administrator
Ericsson Eurolab Deutschland            email: eedmgu@eed.ericsson.se 
D-52134 Herzogenrath, Ericsson Allee 1  phone: +49 2407 575-665 | fax: -767



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:36 EDT