SSH Password Authorization Tweak
Valid for versions 82 through the latest version
Version:
82
Last modified: June 17, 2021
Overview
This feature allows you to enable or disable password authorization for SSH authentication. If you disable password authorization, the system will force users to use SSH keys when they access your server through SSH.
How to manage SSH passwords
Click Enable Password Auth to enable SSH passwords, or click Disable Password Auth to disable them.
The system uses two keys in the SSH daemon configuration file (/etc/ssh/sshd_config
) to store password authorization status:
Password Authentication | PasswordAuthentication | ChallengeResponseAuthentication |
---|---|---|
enabled | yes |
yes |
disabled | no |
no |
Warning:
- If you enable this feature, the system restarts the SSH service and disconnects all of the connected users. This includes the
root
user. - Password Authorization settings also apply to the
root
user. Use WHM’s Manage root’s SSH Keys interface (WHM >> Home >> Security Center >> Manage root’s SSH Keys) to create theroot
user’s SSH keys. - If you disable the Password Authorization setting, your users must use SSH keys. Use WHM’s Manage root’s SSH Keys interface (WHM >> Home >> Security Center >> Manage root’s SSH Keys) to create users’ SSH keys.