This post prompted me to look into more general purpose solutions to this, since it seems like “SSH into an IP that’s known to be owned by a public cloud” should be fully automated at this point. We know which IP’s are part of AWS and we can fetch the host keys securely using the AWS CLI (or helper tools like this). We should be able to do the same over HTTPS for GitHub, Azure, Google Cloud, etc.
It’s surprising to me that no one seems to have made a general-purpose CLI or SSH plugin (if that’s a thing) for this. Google Cloud has a custom CLI that does this but it obviously only works for their servers.
This post prompted me to look into more general purpose solutions to this, since it seems like “SSH into an IP that’s known to be owned by a public cloud” should be fully automated at this point. We know which IP’s are part of AWS and we can fetch the host keys securely using the AWS CLI (or helper tools like this). We should be able to do the same over HTTPS for GitHub, Azure, Google Cloud, etc.
It’s surprising to me that no one seems to have made a general-purpose CLI or SSH plugin (if that’s a thing) for this. Google Cloud has a custom CLI that does this but it obviously only works for their servers.