Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSH Password disabled only for root account?

Discussion in 'General Discussion' started by tomfra, Jan 20, 2007.

  1. tomfra

    tomfra Well-Known Member

    Joined:
    Sep 30, 2002
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    156
    In the SSH Password Auth Tweak when I disable password authentication, it is disabled for all SSH accounts. Is there a way to disable it for the root account only? In other words, I'd like to allow a specified SSH account to be able to authenticate with the standard password method.

    Tomas
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. tomfra

    tomfra Well-Known Member

    Joined:
    Sep 30, 2002
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    156
    OK, I think I found the solution. One just needs to add "PermitRootLogin without-password" to the sshd_config file.

    Tomas
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice