Changes to allow key and password combination (in contrast to key OR password) i.e. if selected in the Admin>Advanced UI (SSH section), sshd will generate /etc/ssh/sshd_config file that requires an authorized key AND username+password.
Note: requires corresponding edits (reb00tz-sshd_key_and_password-patch-2) for proper UI options to show up. Otherwise, manually set $config['system']['ssh']['sshdkeyonly'] to "both" then restart sshd to take effect.
Allow SSHd Key and Password Combination
Changes to allow key and password combination (in contrast to key OR password) i.e. if selected in the Admin>Advanced UI (SSH section), sshd will generate /etc/ssh/sshd_config file that requires an authorized key AND username+password.
Note: requires corresponding edits (reb00tz-sshd_key_and_password-patch-2) for proper UI options to show up. Otherwise, manually set $config['system']['ssh']['sshdkeyonly'] to "both" then restart sshd to take effect.