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!

SSH to non standard port

Discussion in 'Security' started by Dhillon, Sep 17, 2015.

  1. Dhillon

    Dhillon Member

    Joined:
    Dec 26, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    SSH only connect to remote servers on standard port '22'
    Connection timeout for non-standard ports.

    How do I fix this ? I need to transfer accounts from another whm/cpanel server running on non-standard port.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,479
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Dhillon likes this.
  3. Dhillon

    Dhillon Member

    Joined:
    Dec 26, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    Worked after adding port to TCP_IN, TCP_OUT, UDP_IN and UDP_OUT in CSF Configuration.
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    720
    Likes Received:
    123
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    If you want to keep the server more secure by leaving those ports closed, you can always whitelist just the remote servers IP in CSF so this way only that specific server will be able to access the necessary ports.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Dhillon and quizknows like this.
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