Date: Sat, 5 Aug 2000 22:54:17 -0700 From: "Bennett Hui" <bhui@mail.com> To: <freebsd-questions@FreeBSD.ORG> Subject: can't start sshd Message-ID: <NDBBKCNFGLGFDJGFGEECOEJOCCAA.bhui@mail.com>
next in thread | raw e-mail | index | archive | help
I just installed FreeBSD 4.1 last night on an Intel Processor. I loaded in the OpenSSH port that is contained in the FreeBSD CD. I've created an RSA host key and a DSA host key called ssh_host_key and ssh_host_dsa_key, respectively in the /etc/ssh/ directory. When I try to run sshd, I get the following errors: 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. I thought I was doing something wrong with generating the keys, so I installed the latest port of SSH from the FreeBSD website (OpenSSH 2.1.1) and I saw the install of that create the keys using the commands: ssh-keygen -N "" -f /etc/ssh/ssh_host_key ssh-keygen -d -N "" -f /etc/ssh/ssh_host_dsa_key After the install was complete, i tried running sshd again, but it produced the exact same errors as I mentioned above. What's going wrong? Bennett Hui bhui@mail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBKCNFGLGFDJGFGEECOEJOCCAA.bhui>