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
74 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
• 57,750 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 22, 2019 in GCP by Sirajul
• 57,750 points
311 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
• 57,750 points
2,095 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
• 57,750 points
449 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
• 57,750 points
319 views
0 votes
1 answer