On Mon, Feb 21, 2000 at 12:55:02PM +1100, Salameh, Malcolm (ETC - MLAJA) wrote:
> I have downloaded SSH 2.0.13 and compiled it on one of my small test/dev
> boxes - (a pizza box - Sun SPARCstation 20) and have got it working fine on
> this box. However, I want to now push out this installation to one of my
> production servers but whenever I try to start up the SSH daemon I get:
> 
> # /usr/local/sbin/sshd2                               
> FATAL: ssh_privkey_read from /etc/ssh2/hostkey failed.

What's the permissions on this file? You may not have the permissions 
set properly.

> Basically, I copied over all of the binaries from my test server to my
> production server (I don't like installing compilers on production servers
> if I don't have to), created the links, set the permissions, copied over the
> config files into /etc/ssh2, gen'ed a key pair by issuing a ssh-keygen -o
> /etc/ssh2/hostkey and when I try to start up the daemon I get the error
> above.
> 
> Have I missed something stupid? Or does anyone know where I can get a
> packaged version (that would be so much easer!) where I can just do a
> pkgadd?

Not yet :) But, I'd check the permissions, and if you want to get even more
information, run sshd2 in debug mode and that can provide you with more 
information.

-Anne
-- 
Anne Carasik
Email: [EMAIL PROTECTED]
SSH Communications Security, Inc.
Senior Technical Support Engineer
"Any two consenting adults can rub two primes
together to create a public keypair" - R. Thayer

Reply via email to