-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-02-26 at 18:49 -0500, Greg Freemyer wrote:
I have a small fileserver that has been running 10.3 for a couple of months. I have easy physical access, but I normally ssh into it.
Today I tried and it is failing to accept me. sshd is not even running on the server!!!
When I try to start it I get:
# rcsshd start Starting SSH daemonDisabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. startproc: exit status of parent of /usr/sbin/sshd: 1 failed
I assume I need to create a host key, but I don't know where it is kept on SuSE (10.3)
It is normally created by sshd the startup script. It is these files: /etc/ssh/ssh_host_key /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_rsa_key check if they exist, and contain something. Check also "/etc/ssh/sshd_config". I believe the keys will be recreated if you delete them. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHxKtetTMYHG2NR9URAo9XAJ9qwL33TQKdOYYjYcyJHy73tmJxPACfTX2j nYMdrhtfGA5A6IPNMIdZSWc= =JLS1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org