So I've setup a couple of servers on Hetzner. One in particular selfhosts Sentry, Grafana,(Prometheus and Loki).<p>My SSH key is provisioned...<p>I need help with DevOps... but there seems to be no simple way to provision another SSH key.<p>Support suggested this:<p>"1. Go to the Rescue section of your server, but instead of the (reset root password) button, click the Activate Rescue & Reset button.
Your server will then boot into the rescue system.
2. Connect to your server via SSH using the Rescue credentials.
3. execute the following commands in Rescue:
mount /dev/sda1 /mnt
chroot-prepare /mnt
chroot /mnt
From this point you can now navigate through the file structure of your Cloud Servers primary disc. SSH keys for the root user are stored in /root/.ssh/authorized_keys.<p>4. Restart your server using the reboot command and log in using the new SSH key."<p>But seems pretty scary process on a server running multiple application.<p>There must be a better way!
Seems like system administration stuff to add more keys, not yaml/devops engineering.<p>If you rephrase your question and what prevents you to just add keys after provisioning finishes, I'll try to help