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.
This commit is contained in:
Родитель
de23b98522
Коммит
1c0a19ad53
|
@ -68,6 +68,7 @@ use sshhelp qw(
|
||||||
sshversioninfo
|
sshversioninfo
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
|
|
||||||
my $verbose = 1; # set to 1 for debugging
|
my $verbose = 1; # set to 1 for debugging
|
||||||
|
@ -375,16 +376,6 @@ if((! -e $hstprvkeyf) || (! -e $hstpubkeyf) ||
|
||||||
# [3] Option not used in our ssh server config file
|
# [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
|
# Initialize sshd config with options actually supported in OpenSSH 2.9.9
|
||||||
#
|
#
|
||||||
|
@ -620,6 +611,7 @@ if(! -e $knownhosts) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#***************************************************************************
|
#***************************************************************************
|
||||||
# ssh client configuration file options we might use and version support
|
# ssh client configuration file options we might use and version support
|
||||||
#
|
#
|
||||||
|
|
Загрузка…
Ссылка в новой задаче