[CLUE-Tech] sshd

David Anselmi anselmi at americanisp.net
Tue Apr 15 16:29:57 MDT 2003


Mike Staver wrote:
> Yikes, I think something went terribly wrong with my box today.
> 
> [root at fimble tmp]# /etc/rc.d/init.d/sshd restart
> Stopping sshd:[  OK  ]
> Generating SSH1 RSA host key: [FAILED]
> 
> [root at fimble staver]# grep -in sshd /var/log/messages
> 76:Apr 15 10:06:19 fimble sshd: sshd -TERM succeeded
> 77:Apr 15 10:06:20 fimble sshd: RSA1 key generation failed

Looks like the key generation is part of the sshd script.  You can look 
there to see what command is being run and failing.  Then you can run it 
by hand and it may tell you better why it is failing.  Seems likely that 
the keygen failure is preventing sshd from restarting.

You can also look in /etc/*/sshd_config (or RH's version of that) to see 
what syslog facility sshd is logging to.  Maybe there is more info in a 
different log file.

I'll look at a RH box when I get home.

Dave





More information about the clue-tech mailing list