In this case, a Hetzner server
sudo apt update sudo apt upgrade
Take ~/.ssh/id_rsa.pub and paste it in `/root/.ssh/authorized_keys`
adduser vektrat
visudo
Resulting file should be like this
# User privilege specification root ALL=(ALL:ALL) ALL vektrat ALL=(ALL) NOPASSWD:ALL
cp -r .ssh /home/vektrat/ chown -R vektrat .ssh chgrp -R vektrat .ssh
Reboot and try to access via ssh with the new user
sudo vi /etc/shadow
Edit the file to remove hashed password (careful with the rest of the info)
vektrat:*:19000:0:99999:7:::
We choose to do so at the provider's location and allow those basic services:
| Direction | Protocol | Port | Service |
| inbound | TCP | 22 | SSH |
| inbound | TCP | 80 | HTTP |
| inbound | TCP | 443 | HTTPS |
Following those guidelines
sudo apt get install docker-compose