For hostkeys on DO you can probably get a script to run that'll request a signed certificate from a server you own. The signed cert can be validated fully by clients.
Or go with a convergence style system and probe it from multiple locations.
Or just give up and go with TOFU - if you never get an error even on different connections, you probably haven't been mitm'd.
Re:Golang SSH Security
by DorothySim on Sunday April 16, 2017 @10:03AM
(#14125825)
> For hostkeys on DO you can probably get a script to run that'll request a signed certificate from a server you own.
Or just embed the signed host certificate in cloud-init.
If you use the DO API to provision servers my feature request is here:
https://digitalocean.uservoice.com/forums/136585-digitalocea...
Please upvote it or at the very least copy the cloud-init script to help provision your servers.