2010   May | MyLiteratureTechLife.COM

How to secure SSH in your server ?

May 15th, 2010 0 Comments

1) Set a very strong password, keep it in your mind but dont write in somewhere. 2) Disable direct root login emacs /etc/ssh/sshd_config Search for #PermitRootLogin yes Set it as PermitRootLogin no Restart ssh service sshd restart 3) Limit user login AllowUsers username Restart...




How to open and close port in iptables ?

May 15th, 2010 1 Comment

Few of very simple steps 1) Login using root 2) Enter following command to open port in iptables iptables -A INPUT -p tcp --dport 25 -j ACCEPT 3) Enter following command to close port in iptables iptables -A INPUT -p tcp --dport 25 -j DROP 4) Save iptables service iptables save OR...

Alexa Rank