The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    62
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. tomfra

    tomfra Well-Known Member

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

    Tomas
     
Loading...

Share This Page