I am trying to provision a kubernetes cluster from Hetzner Cloud. Therefore I added the node driver and created a node template, as well as a rke template.
This process is working quite well, but I would like my nodes to follow the best practices for ssh, like switching to a different port or not allowing direct root access through ssh. My problem is, that as soon as I change these settings in my cloud-init file, Rancher won’t be able to access the provisioned servers via ssh. Is there a way of specifying ssh port/user in the rke template?
Is there another way to achieve this (best) without lots of manual input?