Valid for versions 82 through the latest version
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 |
- 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 WHMs Manage roots SSH Keys interface (WHM » Home » Security Center » Manage roots SSH Keys) to create theroot
users SSH keys. - If you disable the Password Authorization setting, your users must use SSH keys. Use WHMs Manage roots SSH Keys interface (WHM » Home » Security Center » Manage roots SSH Keys) to create users SSH keys.