Grant SSH Access to Google Compute Engine Debian Instance on macOS
The Unix Tutorial shows you Step-by-Step How to Enable SSH Access to Google-Cloud Compute Engine Debian Instance on Terminal Console for macOS 10.10 Yosemite BSD/Unix.
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
Applications > Utilities > Terminal
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Generate a SSH Keys Pair on Terminal:
-
Copying the SSH Public Key.
cat $HOME/.ssh/id_dsa.pub
Copy the Entire Output without Trailing Spaces…
Select 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