Skip site navigation (1)Skip section navigation (2)
Date:      24 Nov 1999 20:51:59 +0100
From:      naddy@mips.rhein-neckar.de (Christian Weisgerber)
To:        freebsd-questions@freebsd.org
Subject:   Re: Openssh help
Message-ID:  <81hfkv$2v1p$1@bigeye.rhein-neckar.de>
References:  <Pine.BSF.4.10.9911231031001.1538-100000@defiant.quansoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher T. Griffiths <cgriffiths@quansoo.com> wrote:

> I am currently testing openssh and I have run into a snag.  When I go to
> start sshd I get the following error:
> 
> error: Could not load host key: /usr/local/etc/ssh_host_key: No such file
> or directory

Well, that sounds pretty self-explanatory.

> I have tried using ssh-keygen to create this file but no luck.  It just
> throws an error of 0 at me.

# ssh-keygen -N "" -f /usr/local/etc/ssh_host_key

That ought to work. At least that's what the port/package now use
to create a ssh_host_key on a virgin system.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81hfkv$2v1p$1>