Set SSH permitemptypasswords to no
Set SSH permitemptypasswords to no
- Open the ssh configuration file with your editor.
vi /etc/ssh/sshd_config - Add or amend as shown below
PermitEmptyPasswords no - Restart the sshd service
systemctl restart sshd.service