From: Yang Tse Date: Mon, 19 Nov 2007 01:49:28 +0000 (+0000) Subject: Temporary change to help debugging string(s) returned by sshd -V X-Git-Tag: cares-1_5_0~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=968e943eac70f0c312247046dfb0afca6d1470a5;p=curl Temporary change to help debugging string(s) returned by sshd -V when sshd is not being identified as an OpenSSH daemon --- diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 79fcd995b..d20ae6935 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -135,6 +135,8 @@ if ($verbose) { if (($ssh_daemon !~ /OpenSSH/) || (10 * $ssh_ver_major + $ssh_ver_minor < 37)) { if(!$ssh_daemon) { print "SSH server daemon found is not an OpenSSH daemon\n"; + chomp($tmpstr = qx($sshd -V 2>&1)); + print "$tmpstr\n"; } else { print "SSH server daemon found is OpenSSH $ssh_ver_major.$ssh_ver_minor\n";