sudo apt install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh
# Go to your home directory:
cd
# If it doesn't exit, create the foldr .ssh
mkdir .ssh
# If it doesn't exit, create the file authorized_key
vim authorized_key
# Copy your PUBLIC key from your local to this file.
# Have fun.
#for basic ssh
ssh username@IP_ADDRESS