Tested on various operating systems

Damien Miller djm at mindrot.org
Mon Mar 20 13:42:26 AEDT 2017


On Sat, 18 Mar 2017, Sevan Janiyan wrote:

> Tests conducted using
> http://www.mindrot.org/openssh_snap/openssh-SNAP-20170318.tar.gz

Thanks for running these tests.

> NetBSD 7.1RC2 & 7.99.60 (slightly stale but not that much)
> test_utf8: ........................
> regress/unittests/utf8/tests.c:48 test #25 "c_esc"
> ASSERT_INT_EQ(len, wantlen) failed:
>          len = -1
>      wantlen = 5
> [1]   Abort trap (core dumped) ${V}

This should be fixed in HEAD.

> OmniOS r151021
> test_utf8: ..................
> regress/unittests/utf8/tests.c:27 test #19 "utf8_badarg"
> ASSERT_INT_EQ(len, -1) failed:
>          len = 1
>           -1 = -1
> *** Signal 6 - core dumped

Not sure what this one is, it's possible it was fixed by the same commit
as the NetBSD one, but it's hard to tell. I'll have to try and install it
on a VM to replicate.

> OS X El Capitan
> /Downloads/openssh/ssh-keygen -lf
> /Downloads/openssh/regress//t12.out.pub | grep test-comment-1234 >/dev/null
> run test connect.sh ...
> Sometimes I think the surest sign that intelligent life exists elsewhere
> in the Universe is that none of it has tried to contact us.  -Calvin

It looks like some shell initialisation is producing extra output for
non-interactive shells. This could be something in .bashrc (or similar)
that would better live in .bash_profile (or similar). It will break all
sorts of tests :)

> Debian 8.7 amd64
> /openssh/ssh-keygen -lf /openssh/regress//t12.out.pub | grep
> test-comment-1234 >/dev/null
> run test connect.sh ...
> Missing privilege separation directory: /var/empty

We should probably do a better job of autoconfiguring the default privsep
directory. Until then it's best to pas an explicit --with-privsep-path
to configure. I think the right one for Debian is /var/run/sshd.

-d


More information about the openssh-unix-dev mailing list