For cPanel & WHM version 68
(WHM >> Home >> Security Center >> SSH Password Authorization Tweak)
This feature allows you to enable or disable password authorization for SSH authentication. If you disable password authorization, the system forces 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/sshd_config) to store password authorization status:
- If you enable this feature, the system restarts the SSH service and disconnect all of the connected users. This includes the
- Password Authorization settings also apply to the
rootuser. Use WHM's Manage root's SSH Keys interface (WHM >> Home >> Security Center >> Manage root's SSH Keys) to create the
rootuser's SSH keys.
- If you disable the Password Authorization setting, your users must use SSH keys. Use WHM's interface (WHM >> Home >> Security Center >> Manage root's SSH Keys) to create users' SSH keys.