How-To: Creating and Uploading an SSH Key

Creating and Uploading an SSH Key

To SSH into an instance using your own terminal (as opposed to the Google Cloud Platform console), you must generate and upload an SSH key.

  1. Generate an SSH key using the following command:
    $ ssh-keygen -f ~/.ssh/my_gcp_keyname -t rsa
    This generates a public/private key pair.
  2. In the Compute Engine menu, click Metadata.
    Sample menu for Google Compute screen.
  3. Click the SSH Keys tab and click Add SSH Keys.
  4. Copy your key data into the input box in the following format: protocol public-key-data [email protected]
  5. Click Save. Your public key is now available to all instances in the project.

Share:

More Posts

March 2022 – Kids on the Yard PR

“I can relate to this! Parents having a very tough time keeping their kids educational on track…” Sarah Maruani, a first-grade teacher, has founded Kids

Happy smiling arab schoolgirl using phone for virtual online study at home.

Online Summer Camp 2022

Numerous schools are supplying online guideline to struggling visitors. Unfortunately, there is an absence of research study on the effect of online small-group analysis intervention,

Sign up for our newsletters

SEO

Book Now Free SEO Consultation

Commerce

Take your ecommerce site to next the level

Development

Website Development