[CLUE-Tech] sshd

Mike Staver staver at fimble.com
Tue Apr 15 16:41:17 MDT 2003


I just ended up uninstalling the rpms for ssh and reinstalling them, and 
it's fine now.  When I did a:

locate ssh

It returned this directory:

/etc/ssh/ssh-config

Well, when I tried to look at it, /etc/ssh didn't exist.  So, the reason 
ssh wouldn't start is because that directory magically disappeared... 
which bothers me.  I just reinstalled it, and it's fine for now, but I'm 
still wondering how it went away to begin with.

David Anselmi wrote:

> 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
>
>
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech


-- 

                                -Mike Staver
                                 staver at fimble.com
                                 mstaver at globaltaxnetwork.com





More information about the clue-tech mailing list