• Install sshd with

    • sudo apt install openssh-server
  • Modify configuration of /etc/ssh/sshd_config and

    • Add AllowUsers sagar at the end
    • Set PermitRootLogin No
  • Restart

    • sudo systemctl restart sshd
    • sudo systemctl restart sshd
  • Typically, also remember to install fail2ban

  • Make sure that UFW is configured computers.setup.ufw

  • Make sure that UFW is configured