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!

WHM / SSH Access - Limiting To One IP

Discussion in 'General Discussion' started by Doug E, Jun 12, 2008.

  1. Doug E

    Doug E Well-Known Member

    Joined:
    Aug 17, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    How would I go about limiting SSH access to my server from only my IP? Is their a Cpanel option I can do this by?

    How about WHM access, can I limit it to just 1 IP as well?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    You can restrict other users to use SSH from WHM-> Manage Shell Access. You can also use the tools like tcpwrappers, SSHBlack.

    You can put access limit of port 2086 from iptables firewall or APF type solutions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Doug E

    Doug E Well-Known Member

    Joined:
    Aug 17, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    Thanks for your response.

    I think to keep it simple for a guy with limited linux and server knowledge such as myself a half decent plan would be to disable shell access through WHM, only turning it on when I need access through SSH.

    Can you see any problems with that?
     
  4. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    No, there is no issues. You can disable/enable SSH access from WHM.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Doug E

    Doug E Well-Known Member

    Joined:
    Aug 17, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    Cool. Thanks :)
     
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