aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-11-19 01:49:28 +0000
committerYang Tse <yangsita@gmail.com>2007-11-19 01:49:28 +0000
commit968e943eac70f0c312247046dfb0afca6d1470a5 (patch)
treec33d193ba580839a70417c7617ae5135902f7442
parent5be00c95a7fae33903ee43e45a880884ecb3ebd9 (diff)
Temporary change to help debugging string(s) returned by sshd -V
when sshd is not being identified as an OpenSSH daemon
-rw-r--r--tests/sshserver.pl2
1 files changed, 2 insertions, 0 deletions
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";