Open SSH Security: Disable OpenSSH Server


In some cases, we can work without OpenSSH server. If you need not to provide the remote login and file transfer capabilities of SSH, disable and remove the SSHD server. CentOS user can disable and remove openssh-server with yum command:

# chkconfig sshd off
# yum erase openssh-server

You may need to update your iptables script to remove ssh exception rule. Under CentOS edit the files /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. Once done restart iptables service:

# service iptables restart
# service ip6tables restart

Add comment Share
Hosting Companies insights
1164 Web Hosting Reviews A trusted source of genuine reviews. Learn Reviews
2513 Web Hosting Companies Ever-growing pool of web hosting providers. Browse Providers
1916 Web Hosting Coupons Exciting web hosting deals available here Browse Coupons