New Member Registration
Lost password?

How to Secure LINUX Server tutorials - Disable Root Login

Date Added: October 16, 2011 07:44:20 AM
Author: CAISC Web Directory
Category: Internet
How to Secure LINUX Server tutorials - Disable Root Login ==================================================== Login to your server via SSH as root (You can use putty for login) Type following command: pico /etc/ssh/sshd_config #Find and Update these lines: PermitRootLogin no #Change port nuber to 5650 Port 5650 #Note - (Port number can be any number between 1024 to 65535 (above 30000 is best) #Change Protocol Protocol 2 #Change LoginGraceTime LoginGraceTime 1m #Change MaxAuthTries (User will not be allowed to login if he typed in wrong password for more than 3 times) MaxAuthTries 3 Restart the SSHD Service from WHM Additional Steps (If you are using CSF firewall) ------------------------------------------------- Add the Port number you specified in sshd_config file, to CSF Firewall at TCP_IN and TCP_OUT.
Ratings
You must be logged in to leave a rating.
(0 votes)
Comments

No Comments Yet.


You must be logged in to leave a Comment.
  •