Quisque lorem tortor fringilla sed vesti bulum
May 7, 2014
Secure Shell(SSH) is a protocol that allows users to access devices and services across a network safely. The connection while using SSH is encrypted.
In this guide we are using an ubuntu 20.04 with a sudo account. By default when you install Ubuntu, remote access using ssh is not allowed. This guide will show you how to enable it and protect it using fail2ban.
Assuming this is a fresh installation we will first we update the ubuntu server. So login into the server and type:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
As the server finishes updating we can now install OpenSSH Server:
sudo apt-get install openssh-server -y
Start and enable SSH server:
sudo systemctl start ssh
sudo systemctl enable ssh