Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2004 22:02:29 +0900
From:      Rob <stopspam@users.sourceforge.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Error in starting SSH
Message-ID:  <40C9AD65.8010605@users.sourceforge.net>
In-Reply-To: <BAY2-F75q9oiwVW6eTR00059f67@hotmail.com>
References:  <BAY2-F75q9oiwVW6eTR00059f67@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bilal Ahmed wrote:
> 
>    I have been facing an error on running sshd:
> 
>    /usr/sbin/sshd
>    Could not load host key: /etc/ssh/ssh_host_key
>    Could not load host key: /etc/ssh/ssh_host_dsa_key

Are these two files not there?

In 5.X, you should start such daemons from /etc/rc.d :

# cd /etc/rc.d
# ./sshd start


It will generate the host key files, if not there; and then
start the daemon.

Rob.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40C9AD65.8010605>