Hosting Knowledge Open SSH Security: Disable OpenSSH Server
SocialTwist Tell-a-Friend
Advertisement

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


Rate This Article


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
poorGreat

Add comment


  • Your name :
  • Email :
  • *Comment :
  • Word Verification

Web Hosting Directory

  • The web hosting directory is for anyone who is searching for website hosting and hosting related resources. The directory is listing Shared, VPS and Dadicated server plans in descending order for customer ratings !!! This web hosting directory is listing plans on the basis of 100% unbiased customer ratings. TheWebHostingDir.com provides you nice tool to easily search all types of web hosting plans including cheap web hosting, ASP.Net hosting, php mysql hosting, Cheap VPS Hosting, Windows VPS, HyperV VPS, Xen VPS and Cpanel VPS Hosting.



Quick search

Request a Quote

If you wish to receive proposals from Web Hosting Companies Suited to your needs.