Do you have sshd starting at bootup or are you launching it from the command line? If the latter, are you root?
How do you generate sshd host keys? Sshd complains about not having the host key files in /etc/ssh. I'm trying this in Gentoo, where emerge did not generate the host keys. Debian did it for me. Man pages did not mention how to create the keys.
Do you have sshd starting at bootup or are you launching it from the command line? If the latter, are you root?
I found out (after a search) you have to do ssh-keygen -t type -f /etc/ssh/ssh_host_key without using a password. This puts the host keys in the proper directory. Without them, sshd will not start. For some reason Gentoo does'nt generate them for you when you emerge the package, as does Debian.
Thanks for the reply though.
Bookmarks