SSH keys

Neil Ford neil at
Sun Oct 8 23:05:11 BST 2000

I'm trying to generate host keys to run sshd (OpenSSH). ssh-keygen seems to run
okay but when I try to start sshd, I get the following;

error: Could not load host key: /etc/ssh/ssh_host_key: Bad file descriptor
Disabling protocol version 1
error: Could not load DSA host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 2
sshd: no hostkeys available -- exiting.
sshd: no hostkeys available -- exiting.

Anyone any bright ideas? I have it working on another box but it's key were
generated automatically. I've tried the manual pages but they seem to indicate
it all shold just work.

Neil C. Ford
neil at / neil at

More information about the Ukfreebsd mailing list