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 in GCP by Sam
• 4,320 points
14 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 by Sirajul
• 38,820 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 in GCP by Sirajul
• 38,820 points
11 views
+1 vote
1 answer
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 in GCP by Sirajul
• 38,820 points
38 views
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 in GCP by Sirajul
• 38,820 points
48 views