How-to Enable SSH Access to Google Cloud Engine Debian Instance on Mac OS X 10.11 El Capitan

Grant SSH Access to Google Compute Engine Debian Instance on Mac OS X


The Unix Tutorial Shows You Step-by-Step How-to Enable SSH Access to Google-Cloud Compute Engine Debian Instance on Terminal Console for Mac OS X 10.11 El Capitan 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.

Enabling Terminal Console SSH Access to Google-Cloud Debian Instance on Mac OS X - Featured
  1. Open a Command Line Shell Session
    Applications > Utilities > Terminal
    (Press “Enter” to Execute Commands)

    Mac OS X Enabling SSH Access to Google-Cloud Debian Instance - Open Terminal
  2. Generate a SSH Keys Pair on Terminal:

    How-to SSH Keys Pair
  3. 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 🙂

  4. Access the Google Developers Console on Browser

    https://console.developers.google.com
  5. Open a Browser Shell Console Window

    Enabling Google-Cloud Instance SSH Access on Mac OS X - Open Shell Console Window
  6. 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 🙂

  7. Then to Connect to Debian Instance is as Simple as

    ssh [MYUSER@MYIP]

    Example:

    ssh tom@32.64.128.255