Change the default SSH port 22

The Secure Shell (ssh) protocol by default uses the port 22. Attackers mostly uses the port 22 in automated attack and changing the default will prevent your server from these automated attack. There are many ways of making your server secure and changing the default ssh port is one of the server hardening. Steps to…

Disable SeLinux in Linux

Selinux is an acronym for Security-enhanced Linux. SELinux is a Linux feature that provides the mechanism for supporting access control security policies in the Linux kernel. It is a set of kernel modifications and user-space tools. To disable SELinux temporarily run the following command on shell. $ sudo echo 0 > /selinux/enforce or you can…

Disable Ping Response in Linux

Ping response can be disabled on the server due to many reasons such as server security, to avoid the network congestion., etc. Ping can disabled temporary and permanent in Linux. Disable Ping response Temporary: To disable the ping response temporary run the following command on the server as root # echo “1” > /proc/sys/net/ipv4/icmp_echo_ignore_all This…