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!

SOLVED SSH Refusing after CSF Installation.

Discussion in 'General Discussion' started by 007basaran, Mar 3, 2017.

Tags:
  1. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Hello All,

    I installed csf firewall on cpanel.

    after csf installing ssh connection not working.

    I modified ssh port exclusively = xxx

    Adding my ssh port firewall services.

    Example: XXX my ssh port.

    MY CONFİG FİLES :

    TCP_IN = XXX
    TCP_OUT = XXX

    AFTER;

    iptables -I INPUT -p udp --dport XXX -j ACCEPT
    iptables -I INPUT -p tcp --dport XXX -j ACCEPT

    and saving restart all firewall services and ssh services.

    But not working ssh services..

    Thank you..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    007basaran likes this.
  4. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    SOLVED:

    nano /etc/ssh/sshd_config

    #PORT 22 to MYPORT

    and adding firewall restarting.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm happy to see the issue is now solved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    007basaran likes 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