Please follow this guide: https://gist.github.com/feczo/7282a6e00181fde4281b with pictures.
In short:
Using Puttygen, click Generate, move the mouse as directed and wait
Enter your username
Enter your password
Save Private Key
Copy the entire content of the "Public key to paste into the OpenSSH authorized_keys file." Be sure to copy each character from the very beginning to the very end!
Go to the Create Instances page in the Google Cloud Platform console, and in the advanced settings link, paste the contents of your public key.
Note the IP address of the instance after it has completed. Open the putty, from the left menu go to Connection / SSH / Auth and locate the key file that was saved.
In the menu on the left, select "Connection / data" and specify the same username
- Enter the IP address of your instance
- name the connection below the saved sessions as "GCE", click "Save"
- double-click the "GCE" entry you just created.
- accept host id
Now log in with the password you specified earlier and run sudo su - and you're all set up.
Feczo Aug 07 '14 at 11:51 on 2014-08-07 11:51
source share