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
Your Answer
Anonymous
Post Your Answer

Hosting Companies insights

3018 Web Hosting Reviews A trusted source of genuine reviews. Learn Reviews
2502 Web Hosting Companies Ever-growing pool of web hosting providers. Browse Providers
2898 Web Hosting Coupons Exciting web hosting deals available here Browse Coupons
Share
Tweet
Share
Share
Share
Email