You need to ensure your personal SSH key works on every instance in your project. You want to accomplish this as efficiently as possible.
What should you do?
33 comments · newest first
LE
Leila
10 months ago
Wait, can you really just upload the key to project Metadata?
BR
Brandon
10 months ago
I think B is better for individual control.
FI
Filiberto
10 months ago
A is the way to go, much easier!
TA
Tamesha
11 months ago
D is pretty cool, but does it really work every time?
VI
Vinnie
11 months ago
C sounds like a lot of extra work, not sure it's worth it.
LI
Lindsey
11 months ago
Creating a custom image with the SSH key embedded seems like a good idea, but I wonder if it complicates updates later on.
FL
Flo
11 months ago
I’m leaning towards using gcloud compute ssh because it sounds like it would automate the process, but I can't recall if it works for all instances.
IV
Ivette
11 months ago
I remember practicing a question about SSH keys, and I feel like uploading to each instance Metadata is too tedious.
AL
Alysa
12 months ago
I think uploading the public SSH key to the project Metadata might be the most efficient way, but I'm not entirely sure if it applies to all instances.
CA
Carmela
12 months ago
I'm a bit confused on the differences between the options. I'll need to review the details carefully before deciding.
VI
Vilma
12 months ago
The gcloud compute ssh command sounds interesting. I'll have to look into that option more closely.
AG
Agustin
1 year ago
I think option C might be the way to go. Creating a custom image with the key embedded could save a lot of time in the long run.
OL
Olen
1 year ago
Hmm, I'm not sure if that's the most efficient approach. Wouldn't it be better to upload the key to each instance's metadata individually?
KR
Kristin
1 year ago
This seems pretty straightforward. I'd go with option A and upload the public key to the project metadata.
LA
Lawanda
1 year ago
I think creating a custom image with the key embedded is the most secure option.
LY
Lynelle
1 year ago
But wouldn't it be easier to just upload it to the project Metadata?
GO
Goldie
1 year ago
I disagree, I believe option D is more efficient.
LY
Lynelle
1 year ago
I think option A is the best choice.
WA
Wayne
1 year ago
I'm feeling a bit mischievous today, so I'm going to go with option E: tattooing my public key on my forehead. That's efficiency and security all in one!
KI
Kina
1 year ago
C is the way to go. Having the key embedded in the image means I don't have to worry about it at all. Set it and forget it!
KE
Kenny
1 year ago
C) Create a custom Google Compute Engine image with your public ssh key embedded.
JU
Justine
1 year ago
B) Upload your public ssh key to each instance Metadata.
ER
Ernest
1 year ago
A) Upload your public ssh key to the project Metadata.
LY
Lynelle
1 year ago
D seems like the easiest option. Let gcloud do the heavy lifting and copy the key for me. Lazy, but efficient!
RI
Rikki
1 year ago
Yeah, why make it harder for yourself when you can let gcloud handle it with just one command.
TE
Telma
1 year ago
I agree, option D is definitely the most efficient way to go.
MA
Matilda
1 year ago
I'm going with B. Uploading the key to each instance's metadata might take a bit more time, but it's more secure that way.
CH
Cherry
1 year ago
That's a good choice. It's always better to prioritize security when it comes to SSH keys.
DA
Dalene
1 year ago
B) Upload your public ssh key to each instance Metadata.
AN
Annett
1 year ago
Option A all the way! Uploading the key to the project metadata is the most efficient way to ensure it works across all instances.
EL
Elena
1 year ago
C) Create a custom Google Compute Engine image with your public ssh key embedded.
DA
Dante
1 year ago
B) Upload your public ssh key to each instance Metadata.
PI
Pilar
1 year ago
A) Upload your public ssh key to the project Metadata.