> keys in /etc. The key exists and I am happy with the format of
> the file, (it is consistent with other working hosts). My
> problem is that the sshd cannot find the /etc/ssh_host_key
> whether I point to it (using -h) or not. The file _does_exist. 
>
> What the hell am I doing wrong?
> 
> Sample run:
> 
> ## ROOT ## taylor # sshd -d  -h /etc/ssh_host_keydebug: sshd 
> version 1.2.27 [sparc-sun-solaris2.8]Could not load host key: 
> /etc/ssh_host_keyfatal: Please check that you have sufficient 
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> permissions and the file exists.## ROOT ## taylor # ls -al 
^^^^^^^^^^^^^
> /etc/ssh_host_key-rw-------   1 root     other        526 Jun 
> 28 16:21 /etc/ssh_host_key


check permissions/ownership on your hostkeys.

if private key is not owned by root.root or if its perms 
are not correct (400 is good i think...)

Reply via email to