Table of Contents

On-Premises

Securing the server

Create a complex root password

This will withstand brute force attacks by hackers to obtain the password.

Install ClamAV

    freshclam
    clamscan -r -i /
    

Restrict ssh access by key alone

    vi /etc/ssh/sshd_config
   
    

and add the following lines:

    PasswordAuthentication no
    ChallengeResponseAuthentication no

If root access is not permitted, check Login as root to fix the issue.