

#HOGWASH SCRUBBER INSTALL#
Yum -y install gcc make wget vixie-cron perl Su - Step 2: Install ChkRootKit (rootkit finder)Ĭreate a directory to hold downloaded or compiled sofware, then install some tools we will need (these may well already be installed): Next time when you log in you can switch to the root user using the following command (enter the root password at the prompt): Since we have now prevented the root user from logging in remotely (as a security measure – the root user has full access to the entire system and can break things very easily), the final step is to create a user who can log in remotely. Also uncomment and change PermitRootLogin to: no. Then type the following command:Īs before, in insert mode, uncomment the Port, Protocol (and change to 2 only if not already) and ListenAddress 0.0.0.0 statements.

Hit Esc to exit insert mode and type ZZ to quit saving the changes. remove the hashes) and change Protocol 2,1 to 2 only. Then uncomment all the lines after (and including) Host * (i.e. Log in as root to your server and type the following commands to backup and then edit the SSH configuration:Ĭp /etc/ssh/ssh_config /etc/ssh/ssh_config.bak cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
