SSH Password Authorization Tweak

Valid for versions 82 through the latest version

Version:

82


Last modified: September 29, 2020

Overview

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:

Password Authentication PasswordAuthentication ChallengeResponseAuthentication
enabled yes yes
disabled no no
Warning:
  • If you enable this feature, the system restarts the SSH service and disconnect 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 the root 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.

Additional Documentation