Grant SSH Access to Google Compute Engine Debian Instance on Linux
Hi! The Tutorial shows you Step-by-Step How to Enable SSH Access to Google-Cloud Compute Engine Debian Instance on Terminal Shell for Linux Desktop/Server.
Google Cloud Platform is a set of modular cloud-based services that allow you to create anything from simple websites to complex applications.
-
Open a Command Line Shell Session
(Press “Enter” to Execute Commands) -
Generate a SSH Keys Pair on Terminal:
-
Copying the Google-Cloud Public Key.
cat $HOME/.ssh/id_dsa.pub
Copy the Entire Output without Trailing Spaces…
Select the Key and Ctrl+Shift+C to Copy on Terminal :) -
Access the Google Developers Console on Browser.
https://console.developers.google.com
-
Open a Browser Shell Console Window.
-
On Google-Cloud Browser Instance Console Paste in the Key.
nano $HOME/.ssh/authorized_keys
Paste the Copied Content
Ctrl+x to Save & Exit from nano Editor :) -
Then to Connect to Debian Instance is as Simple as.
ssh [MYUSER@MYIP]
Example:
ssh tom@32.64.128.255