Certain SSH server is configured to not allow root login mainly due to security and audit reason. You can disallow root login to your server with these simple steps;

  1. Set PermitRootLogin to no in /etc/ssh/sshd_config

    PasswordAuthentication no
  2. Reload or restart SSH