Enhanced sshdkeyonly Drop-Down List for Clarity...

Enhanced sshdkeyonly drop-down list for clarity, as per https://github.com/pfsense/pfsense/pull/3922#pullrequestreview-108426593.
This commit is contained in:
reb00tz 2018-03-31 11:12:55 +08:00 committed by Steve Beaver
parent 0bfd23a619
commit c2d5d1ff8b

View File

@ -487,7 +487,7 @@ $section->addInput(new Form_Select(
'sshdkeyonly',
'SSHd Key Only',
$pconfig['sshdkeyonly'],
array_combine(array("disabled", "enabled", "both"), array("disabled", "enabled", "both"))
array_combine(array("disabled", "enabled", "both"), array("disabled (default): key OR username+password", "enabled: key only", "both: key AND username+password"))
))->setHelp('When %3$senabled%4$s, SSH access is via authorized keys %5$sonly%6$s and needs to be configured for each '.
'%1$suser%2$s that has been granted secure shell access. If set to %3$sboth%4$s, authorized keys '.
'%5$sand%6$s passwords must be used. If %3$sdisabled%4$s (default), then passwords %5$sor%6$s authorized keys are accepted.',