Child pages
  • SSH Password Authorization Tweak
For cPanel & WHM version 74

Skip to end of metadata
Go to start of metadata

(WHM >> Home >> Security Center >> SSH Password Authorization Tweak)

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 AuthenticationPasswordAuthenticationChallengeResponseAuthentication
enabledyesyes
disablednono


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