This guide assumes you're on ubuntu.
sudo apt-get update && \
sudo apt-get upgrade -y &&
sudo apt-get dist-upgrade
https://www.techandme.se/setup-multiple-accounts-with-ddclient-and-cloudflare/
This guide assumes you've setup already SSH keys to log w/o password on such hosts. Check the linked guide below if you haven't yet.
Update SSH server configuration with:
sudo vi /etc/ssh/sshd_config
Set following values
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
PermitRootLogin no
Restart ssh server
sudo service ssh reload
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no -l