The host's public key is usually readable only by root, since the
compromise of this key could be used to compromise all encrypted data
exchanged by SSH. Either specify a different host key via the config file,
or make it such that the hostkey can be read by ONLY the user that sshd is
running as. Do NOT simply make the hostkey world-readable.

--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638


On Sat, 13 May 2000, Darren Wyn Rees wrote:

> I'd like to run sshd as non-root on one machine.
> 
> I type in sshd -p 50 
> 
> and I'm given the error message
> 
> FATAL: ssh_privkey_read from <path.to>/hostkey failed
> 
> I don't understand this, sorry.  What am I missing ?
> 
> I created a private key (ssh-keygen) by typing ssh-keygen,
> and the private key hostkey and public key hostkey.pub exists.
> 
> Thanks for any useful comments.
> 
> -- 
> this is my .sig, show me yours
> 

Reply via email to