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!

Change the SSH port?

Discussion in 'General Discussion' started by mikelbeck, Aug 11, 2006.

  1. mikelbeck

    mikelbeck Member

    Joined:
    Jan 3, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    I've changed the ssh port on my server, but I can't connect to that port from work (firewall blocks pretty much everything). I was trying to connect to ssh through cPanel (SSH/Shell Access), but it's trying to connect on port 22. Is there a way to change the port that cPanel uses to connect to something else?
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    655
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    Edit the /etc/ssh/sshd_config file and change the port listed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mikelbeck

    mikelbeck Member

    Joined:
    Jan 3, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    Right, I've done that already. ssh is working just fine on the different port.

    But, when I try to connect via cPanel (using the SSH/Shell Access function) it goes to port 22.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mikelbeck

    mikelbeck Member

    Joined:
    Jan 3, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    That's just what I'm looking for, thanks.

    I searched but didn't come across that thread. :eek:
     
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