Skip to content

Access GCE instances by personal SSH key

Amos Kong edited this page Feb 22, 2017 · 1 revision

GCE: Everyone can login the instances with the personal SSH key

If you already added your SSH key in gce metadata-sshkey page , you can login all our gce instances by default. If someone blocked project-wild SSH keys, then other can't access it.

Instance edit page: SSH Keys: [ ] Block project-wide SSH keys

So you try to login the instances with your key:

ssh -i ~/.ssh/personal-key your-name@instance_ip