Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2016 10:02:58 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        "src-committers\@freebsd.org" <src-committers@freebsd.org>, "svn-src-all\@freebsd.org" <svn-src-all@freebsd.org>, svn-src-vendor@freebsd.org
Subject:   Re: svn commit: r294315 - in vendor-crypto/openssh/dist: . contrib/redhat contrib/suse
Message-ID:  <86si1fzbgd.fsf@desk.des.no>
In-Reply-To: <CAG=rPVdGhnweO6PzvJY4Vx_CQP7Hu4k4BSWjFmxzHPG_qtzppQ@mail.gmail.com> (Craig Rodrigues's message of "Fri, 29 Jan 2016 19:48:19 -0800")
References:  <201601191010.u0JAAw3O039299@repo.freebsd.org> <CAG=rPVdGhnweO6PzvJY4Vx_CQP7Hu4k4BSWjFmxzHPG_qtzppQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Craig Rodrigues <rodrigc@FreeBSD.org> writes:
> Performing sanity check on sshd configuration.
> Fssh_key_load_public: invalid format
> Could not load host key: /etc/ssh/ssh_host_rsa_key
> Could not load host key: /etc/ssh/ssh_host_dsa_key
> Fssh_key_load_public: invalid format
> Could not load host key: /etc/ssh/ssh_host_ecdsa_key
> Fssh_key_load_public: invalid format
> Could not load host key: /etc/ssh/ssh_host_ed25519_key
> Disabling protocol version 2. Could not load host key
> sshd: no hostkeys available -- exiting.
>
> [the host keys] seem to be all zeroes

Can you modify /etc/rc.d/sshd so it runs ssh-keygen under ktrace:

ktrace -f "$keyfile.tr" /usr/bin/ssh-keygen -q -t $alg -f "$keyfile" -N ""

then send me a tarball of /etc/ssh from the next VM that fails?

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86si1fzbgd.fsf>