[NBLUG/talk] can't start ssh

Mark Street mark at oswizards.com
Tue Oct 5 21:39:03 PDT 2004


Strange....  what value does your server have for ServerKeyBits in
sshd_config?

I believe the default is 768 bits.

We should assume this is a BSD initialization scheme - Debian or Slack
system.  Was it a .deb upgrade?

Steve Smith said:
> I just upgraded my system and now ssh isn't running.
>
> I have ssh in rc.d, so it should start when the machine
> boots, right?  'ps -Aelf | grep sshd' doesn't show anything.
>
> I tried ./sshd status in rc.d and it says
> Checking for service sshd unused
> ./sshd restart gives
> Shutting down SSH daemon done
> Starting SSH daemon      failed
>
> When I run
> /etc/rc.d# /usr/sbin/sshd -debug
> debug1: sshd version OpenSSH_3.8p1
> debug1: private host key: #0 type 0 RSA1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #1 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #2 type 2 DSA
> Bad server key size.
>
> Do I have to regenerate the keys in /etc/ssh somehow?
>
> I tried to use ssh-keygen -t rsa to generate the
> ssh_host_rsa_key* and the file sizes came out the same size.
>
> When I try to restart sshd, I get a message in
> /var/log/messages saying
> Oct  5 19:44:00 betty sshd[5832]: fatal: daemon() failed:  Success
>
> Where should I go from here??




More information about the talk mailing list