mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
challenge-response option https://sourceforge.net/p/webadmin/bugs/4310/
This commit is contained in:
@ -140,7 +140,12 @@ if ($version{'type'} eq 'openssh' && $version{'number'} >= 5) {
|
|||||||
$text{'default'}." (6)"));
|
$text{'default'}." (6)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
print &ui_table_hr();
|
if ($version{'type'} eq 'openssh' && $version{'number'} >= 5) {
|
||||||
|
# Challenge-response support
|
||||||
|
$chal = &find_value("ChallengeResponseAuthentication", $conf);
|
||||||
|
print &ui_table_row($text{'users_chal'},
|
||||||
|
&ui_yesno_radio('chal', lc($chal) eq 'yes'));
|
||||||
|
}
|
||||||
|
|
||||||
if ($version{'type'} eq 'openssh' && $version{'number'} < 3.7 ||
|
if ($version{'type'} eq 'openssh' && $version{'number'} < 3.7 ||
|
||||||
$version{'type'} eq 'ssh' && $version{'number'} < 2) {
|
$version{'type'} eq 'ssh' && $version{'number'} < 2) {
|
||||||
|
@ -55,6 +55,7 @@ users_authkeys_set=File under home
|
|||||||
users_eauthkeys=Missing or invalid-looking authorized keys file
|
users_eauthkeys=Missing or invalid-looking authorized keys file
|
||||||
users_maxauthtries=Maximum login attempts per connection
|
users_maxauthtries=Maximum login attempts per connection
|
||||||
users_emaxauthtries=Missing or non-numeric number of login attempts per connection
|
users_emaxauthtries=Missing or non-numeric number of login attempts per connection
|
||||||
|
users_chal=Use challenge-response authentication?
|
||||||
|
|
||||||
net_title=Networking
|
net_title=Networking
|
||||||
net_header=Networking options
|
net_header=Networking options
|
||||||
|
@ -113,6 +113,11 @@ if ($version{'type'} eq 'openssh' && $version{'number'} < 3.7 ||
|
|||||||
$in{'rhostsrsa'} ? 'yes' : 'no');
|
$in{'rhostsrsa'} ? 'yes' : 'no');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($version{'type'} eq 'openssh' && $version{'number'} >= 5) {
|
||||||
|
&save_directive("ChallengeResponseAuthentication", $conf,
|
||||||
|
$in{'chal'} ? 'yes' : 'no');
|
||||||
|
}
|
||||||
|
|
||||||
&save_directive("IgnoreRhosts", $conf, $in{'rhosts'} ? 'yes' : 'no');
|
&save_directive("IgnoreRhosts", $conf, $in{'rhosts'} ? 'yes' : 'no');
|
||||||
|
|
||||||
if ($version{'type'} eq 'ssh') {
|
if ($version{'type'} eq 'ssh') {
|
||||||
|
Reference in New Issue
Block a user