>I copied the files by hand to /usr/local/bin and /usr/local/sbin and copied
>myself an /etc/ssh_config and /etc/sshd_config. However, when I run the
>sshd daemon in /usr/local/sbin, I get:
If you do a make -n install, you'll notice that part of the "install"
process is modifying the sshd_config file. In that file is the value
for the option "HostKey" which should look like: /etc/ssh_host_key
My guess is that you copied the file directly without changing the
_ETCDIR_ value to "/etc" or whereever you want the files to go.
>error: fatal: Could not load host key: _ETCDIR_/ssh_host_key. Check path
>and permissions.
>
>Of course the /etc/ssh_host_key and .pub are there, and doing an
>
>sshd -h /etc/ssh_host_key
>
>works. Is there any way to fix the _ETCDIR_ so that just plain
>sshd
>
>will work?
Edit the /etc/sshd_config file and change _ETCDIR_ to be /etc.
Steve
==========================================================
Steve Acheson [EMAIL PROTECTED]
Cisco Corporate Information Security Cisco Systems