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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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.
     
  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,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
  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