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 Authorization Tweak" does not work?

Discussion in 'Security' started by MrVon, Dec 18, 2011.

  1. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have CentOS 5 and this option in cpanel is currently disabled (Password Authentication is currently disabled.) Yet i can still connect to SSH with password.
     
  2. faisikhan

    faisikhan Well-Known Member

    Joined:
    Dec 12, 2011
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Islamabad, Pakistan
    cPanel Access Level:
    Root Administrator
    Hi,

    Will you please tell me which C-Panel/WHM version are you currently using?

    By the way you can still lock down SSH pretty well as making the following changes simply:

    vim /etc/ssh/sshd_config

    PermitRootLogin no #disable root user login
    Port 221 #ssh port other than the default which is 22
    AllowUsers bob #only allow limited user/s


    and then finally restarting the SSH daemon:

    service sshd restart
     
    #2 faisikhan, Dec 19, 2011
    Last edited: Dec 19, 2011
Loading...

Share This Page