Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Instance login

How can you log in to an instance using the serial console if I cannot add a public IP?

Can i just copy and past the public key value into my computer to use putty or other ssh client to login into he instance?

1 Answers

Hi,

From what I have found you need to generate a new SSH key (using putty or ssh-keygen) – CHANGE THE [email protected] at the end of the key to just the username you use for gcp. From there you will need to add the public key you generated to the SSH Keys section of your vm.

Go to vm instances in the google cloud console, click the instance you want, click edit then scroll down to the ssh keys section. Add it there and click save.

You should be able to ssh into the vm now with the command ssh or how ever you would config that in PUTTY.

Nick Ayala

Oh and an additional way to get in, just use the gcloud compute ssh within your terminal and it will do the same, just know that it will log you in using your local identity.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?