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.

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..
     
  2. 007basaran

    007basaran Active Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the issue is now solved. Thank you for updating us with the outcome.
     
    007basaran likes this.
Loading...

Share This Page