svn commit: r294315 - in vendor-crypto/openssh/dist: . contrib/redhat contrib/suse

Craig Rodrigues rodrigc at FreeBSD.org
Sat Jan 30 03:48:23 UTC 2016


On Tue, Jan 19, 2016 at 2:10 AM, Dag-Erling Smørgrav <des at freebsd.org>
wrote:

> Author: des
> Date: Tue Jan 19 10:10:58 2016
> New Revision: 294315
> URL: https://svnweb.freebsd.org/changeset/base/294315
>
> Log:
>   Vendor import of OpenSSH 7.1p2.
>


Hi,

I'm not sure if this is the exact commit, but sometime around this commit,
I have started seeing some failures in some scripts that I have running.
These scripts build and boot a VM, and try to SSH into the VM to run some
tests.

It turns out that sshd is not starting properly, so the tests fail to SSH
into the VM:

https://jenkins.freebsd.org/job/FreeBSD_HEAD/54/execution/node/43/log/

>From last night's build, I was able to boot the VM, and log into the VM
console.

If I tried to manually start sshd, I got this:

#  service sshd restart

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.


Some observations:
    - these do not exist:
                /etc/ssh/ssh_host_dsa_key
               /etc/ssh/ssh_host_ecdsa_key
   - these files exist:
           -rw-------  1 root  wheel   227 Jan 25 21:34
/etc/ssh/ssh_host_ecdsa_key
           -rw-------  1 root  wheel   387 Jan 25 21:34
/etc/ssh/ssh_host_ed25519_key
           -rw-------  1 root  wheel  1679 Jan 25 21:34
/etc/ssh/ssh_host_rsa_key

      but they seem to be all zeroes

The VM that I configured is nothing fancy.  It just has this in
/etc/rc.conf:


sshd_enable="YES"
ifconfig_vtnet0="inet 192.168.10.2/24"


Any ideas as to what the problem might be?

--
Craig


More information about the svn-src-all mailing list