Skip to main content

Set SSH permitemptypasswords to no

Set SSH permitemptypasswords to no

  1. Open the ssh configuration file with your editor.

    vi /etc/ssh/sshd_config

  2. Add or amend as shown below

    PermitEmptyPasswords no

  3. Restart the sshd service

    systemctl restart sshd.service