Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
133530: roachprod: add `google_compute_engine` to `DefaultPubKeyNames` r=vidit-bhat,herkolategan,stevendanna a=srosenberg

roachprod uses `DefaultPubKeyNames` to look for a public SSH key under $HOME/.ssh. Historically, folks would create an SSH keypair named `google_compute_engine`, so we add it to the list of default keys to scan.

Epic: none

Release note: None

Co-authored-by: Stan Rosenberg <[email protected]>
  • Loading branch information
craig[bot] and srosenberg committed Oct 30, 2024
2 parents 8450352 + 0f85fb8 commit ffe1b9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/roachprod/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ var DefaultPubKeyNames = []string{
"id_ed25519",
"id_ed25519_sk",
"id_dsa",
"google_compute_engine",
}

// SSHPublicKeyPath returns the path to the default public key expected by
Expand Down

0 comments on commit ffe1b9f

Please sign in to comment.