Connect to Google Cloud Compute Engine VM via PuTTY SSH

Posted on January 23, 2019 at 11:35 am

First you need to create an SSH key (use PuTTyGen.exe).

Then on Google Cloud click on Compute Engine -> Metadata -> SSH Keys.

Add there your generate SSH key and click on “Save” button.

Then open PuTTy and in “Host Name” field enter:

[username]@[external_IP]

Where username will be the same as the one used to create your SSH keys.

In summary, the comment at the end of your SSH key is the username.

Then on the left click on “SSH” -> “Auth” and select the private key (.ppk) file.

Click back on ‘Session’ on the left, and then on ‘Open’.

More info can be found here:

https://cloud.google.com/compute/docs/instances/connecting-to-instance

Receive updates via email

Other Posts

Updated Posts