Skip to main content

SSH direct root logins are disabled

Comments

2 comments

  • quizknows
    If you have any way to (or can ask your host to), change the sshd_config setting for PermitRootLogin from "no" to: PermitRootLogin without-password This will let key based logins work without allowing password logins for root.
    0
  • cPanelMichael
    Hello, You may want to try running a temporary instance of SSH to see if it allows you to access your server to investigate:
    https://IP:2087/cpsess12345678/scripts2/doautofixer?autofix=safesshrestart
    You would replace "IP" with the server's IP address and the session number with what's displayed in your address bar. Note that this is simply a temporary instance of SSH so you can login and determine what's wrong with the standard SSH service. Then, use the following guide to update your SSH configuration: SSH Hardening Guide Thank you.
    0

Please sign in to leave a comment.