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
685 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,230 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,230 points
3,484 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,230 points
5,889 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,230 points
2,896 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,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,243 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP