Config Ubuntu Instance:

sudo apt update
sudo apt upgrade -y

Restart Instance

Add new user

sudo adduser <username>

Set password

Give Admin Priviledge

sudo usermod -aG sudo <username>

Enable password authentication for SSH so that we can log in with the user externally

sudo nano /etc/ssh/sshd_config

uncomment and change: