From 34d02d1969c9cd0902e21e4d794030799d1c332f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 8 Jan 2008 00:40:02 +0000 Subject: Increase loglevel to debug autobuild's publickey authentication failures when using OpenSSH 2.9.9 or SunSSH --- tests/sshserver.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 22b83c945..af618529d 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -375,6 +375,16 @@ if((! -e $hstprvkeyf) || (! -e $hstpubkeyf) || # [3] Option not used in our ssh server config file +#*************************************************************************** +# 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 # -- cgit v1.2.3