Re: RSA/DSA Host key generation didn't happen (because sshd wasn't enabled on boot)

From: Jimmy Firewire <trigonometric_at_softhome.net>
Date: Thu, 5 Feb 2004 20:38:25 -0000
> And also, using dhclient doesn't work properly. Touching /etc/resolv.conf
> causes the file to be populated with the line:
>
> nameserver 192.168.1.23

but the gateway flags are still UGS instead of UGSc under netstat -r

so I tried to reboot but the same thing happened. So I tried to have the
interface configure automatically at boot, but it won't ping external hosts
but it resolves the hostnames.

Something really strange something happened on this boot:

It hung on

Configuring syscons: keymap keyrate blanktime

for about a minute, but this only happened after I tried to automatically
enable dhcp on an interface at boot. So I just tried taking it out the
ifconfig_rl0="DHCP" line again and rebooted,
and it did not hang (this was also when I had enabled sshd_enable, so it two
changes to rc.conf).  I realised why it doesn't start sshd;
sshd_enable="YES" wasn't in the rc.conf, I presume this is the new default
behaviour? If one puts this back in, it generates the keypair, so I was
probably just being stupid.

But now I just took it out, and the machine hangs on:

Starting sshd

for about 2 minutes then carries on

OK, I understand now. If I put in the ifconfig_rl0="DHCP" the machine pauses
for about 1-2mins at the point just beyond Configuring syscons: keymap
keyrate blanktime, which is also the same place as sshd. So now I suspect
that this isn't a hang but DHCP doing its job?

anonymousPseudonym
Received on Thu Feb 05 2004 - 11:39:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC