On Thu, 25 Jun 2015, Michael Felt wrote: > Oh yes, ran into this again - running tests as root. > > run test connect.sh ... > ssh connect with protocol 1 failed > ssh connect with protocol 2 failed > failed simple connect > > After su to non-root... I think this should fix it: diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 114e129..4ec9c3b 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -416,6 +416,11 @@ if [ ! -z "$TEST_SSH_SSHD_CONFOPTS" ]; then echo "$TEST_SSH_SSHD_CONFOPTS" >> $OBJ/sshd_config fi +# Override default if running as root to allow tests to complete. +if test "x$USER" = "xroot" ; then + echo "PermitRootLogin without-password" >> $OBJ/sshd_config +fi + # server config for proxy connects cp $OBJ/sshd_config $OBJ/sshd_proxy _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev