Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP: Adding an SSH key to a compute VM #148

Open
christophetd opened this issue Jul 28, 2022 · 3 comments
Open

GCP: Adding an SSH key to a compute VM #148

christophetd opened this issue Jul 28, 2022 · 3 comments

Comments

@christophetd
Copy link
Contributor

Source: https://about.gitlab.com/blog/2020/02/12/plundering-gcp-escalating-privileges-in-google-cloud-platform/

gcloud compute instances add-metadata [INSTANCE] --metadata-from-file ssh-keys=meta.txt

Allows to SSH on a box with a new key

@christophetd
Copy link
Contributor Author

@christophetd
Copy link
Contributor Author

Update: the post above doesn't say it was seen in the wild

@christophetd
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant