SSH Refusing after CSF Installation.
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..
-
Hello, Could you let us know the error message you receive when attempting to access SSH after allowing the custom port in your CSF configuration? You may also find this thread helpful: [Tutorial] Interested in increasing the security of your server? Read this. (sshd hardening) Thank you. 0 -
SOLVED: nano /etc/ssh/sshd_config #PORT 22 to MYPORT and adding firewall restarting. 0 -
Hello, I'm happy to see the issue is now solved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments