Location of SSH keys of a Linux VM instance

0 votes
Where are the SSH keys of my Linux VM located? I want to connect to it using third-party tools hence require SSH keys. Can somebody help me with this?
Nov 8, 2019 in GCP by Sam
• 6,260 points
155 views

1 answer to this question.

0 votes

After you connect for the first time, Compute Engine generates an SSH key pair for you and stores it in one of the following locations:

  • By default, Compute Engine adds the generated key to project or instance metadata.

  • If your account is configured to use OS Login, Compute Engine stores the generated key with your user account.

answered Nov 8, 2019 by Sirajul
• 59,090 points

Related Questions In GCP

0 votes
1 answer

Error while boot of a VM instance on GCP

Secure Boot helps ensure that the system ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 59,090 points
1,019 views
+1 vote
1 answer

Schedule startup and shutdown of a VM instance on GCP.

With the recent release of Google Cloud ...READ MORE

answered Nov 6, 2019 in GCP by Sirajul
• 59,090 points
4,107 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,090 points
1,173 views
0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,090 points
613 views
0 votes
1 answer