Monday, 27 January 2020

Google Cloud - Connect to VM putty ssh key

Download puttygen

https://www.puttygen.com/

Click on puttygen then generate key




Copy the content from puttykeygen


 Save public and private key
Go to google instance > console > Compute Engine > VM instance > Edit > SSH keys

Paste the key and add > Save

In open the putty and load the private key save before
https://www.putty.org/

Now enter the VM public IP in putty sessions (Console > Compute Engine > VM instance > Netowrk Insterfaces > Enternal IP)
 and enter open>


Now enter the username which was there as per Key Comment in keygen



You can see the Private IP of the VM when you do sudo ifconfig.



No comments: