aboutsummaryrefslogtreecommitdiff
path: root/tests/sshserver.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-01-08 00:40:02 +0000
committerYang Tse <yangsita@gmail.com>2008-01-08 00:40:02 +0000
commit34d02d1969c9cd0902e21e4d794030799d1c332f (patch)
tree996a74e1c5ef0b8d5268d57e488ffc111ae4215f /tests/sshserver.pl
parent2408b236ca98d98cc4b6a103d63b5ab15f6c8803 (diff)
Increase loglevel to debug autobuild's publickey authentication
failures when using OpenSSH 2.9.9 or SunSSH
Diffstat (limited to 'tests/sshserver.pl')
-rw-r--r--tests/sshserver.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl
index 22b83c945..af618529d 100644
--- a/tests/sshserver.pl
+++ b/tests/sshserver.pl
@@ -376,6 +376,16 @@ if((! -e $hstprvkeyf) || (! -e $hstpubkeyf) ||
#***************************************************************************
+# Increased loglevel to debug autobuild's publickey authentication
+# failures when using OpenSSH 2.9.9 or SunSSH
+#
+if((($sshdid =~ /OpenSSH/) && ($sshvernum == 299)) ||
+ ($sshdid =~ /SunSSH/)) {
+ $loglevel = 'DEBUG3';
+}
+
+
+#***************************************************************************
# Initialize sshd config with options actually supported in OpenSSH 2.9.9
#
logmsg 'generating ssh server config file...' if($verbose);