From 1c0a19ad53febccc915d58c4c03b7aee9d952bdd Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 8 Jan 2008 19:18:25 +0000 Subject: [PATCH] Remove increased loglevel intended to debug autobuild's publickey authentication failures when using OpenSSH 2.9.9 or SunSSH. Verified fact: Even when only using publickey authentication, OpenSSH and SunSSH first validate the user, this implies that if the user validation fails, 'invalid user', the publickey authentication will not be allowed to complete. --- tests/sshserver.pl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index af61852..043b8a9 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -68,6 +68,7 @@ use sshhelp qw( sshversioninfo ); + #*************************************************************************** my $verbose = 1; # set to 1 for debugging @@ -376,16 +377,6 @@ 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); @@ -620,6 +611,7 @@ if(! -e $knownhosts) { } } + #*************************************************************************** # ssh client configuration file options we might use and version support # -- 2.7.4