[NBLUG/talk] can't start ssh
Steve Smith
sjs at sonic.net
Tue Oct 5 19:46:37 PDT 2004
Hi
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??
Thanks
Steve S.
More information about the talk
mailing list