sshd fails to start

roland roland at cat.be
Tue Jul 15 15:13:57 UTC 2008


On Tue, 15 Jul 2008 17:00:44 +0200, Mikkel L. Ellertson  
<mikkel at infinity-ltd.com> wrote:

> roland wrote:
>> Hello,
>> When I try to start sshd I have the following message:
>> Starting of sshd:sshd: WARNING: Default configuration file
>> "/etc/ssh2/sshd2_config" does not exist
>> : WARING: ssh_privkey_read from /etc/ssh2/hostkey failed
>> : FATAL: Unable to load any hostkeys
>> Before this message he starts creating the rsa and dsa keys in /etc/ssh
>>
>> How can I solve this problem?
>>
>  From the error message it is looking for the files in ssh2, instead
> of ssh. I am not sure why this is. Did they change things in F9, or
> did you install ssh from something besides the Fedora RPM?

It is a standart installation K12ltsp
But
I wanted to sync 2 servers with rsync without asking for a password. So I  
generated a key with ssh-keygen and suddenly he created a .ssh2. I suppose  
I don't need this ssh2 but I don't how to remove it. I found that in  
/etc/rc.d/rc5.d/S55sshd this is generated if a dsa_key or rsa_key exists  
in /etc/ssh/. So I removed those keys. But still he creates those keys  
when sshd is started and he looks then for the ssh2_config file.

??
Roland







More information about the fedora-list mailing list