Google Cloud

Re-using existing ssh keys on Google Cloud

I like to re-use existing ssh keys on AWS and Google Cloud. However the Google Cloud cli tool generates a new ssh keypair when attempting to ssh into an instance for the first time using gcloud compute ssh. You can force gcloud to re-use an existing key pair in two different ways. Configuring gcloud to add your own keys and using vanilla ssh If you prefer to use vanilla ssh over the gloud ssh wrapper you can configure gcloud to add your public key to the instances.
Read more