News for hackers. Stuff that matters.
Re:EC2 Instance Connect by drewda on Friday June 28, 2019 @12:23AM (#20301454)
Yes, I quite like this functionality in the "gcloud" CLI: https://cloud.google.com/sdk/gcloud/reference/compute/ssh

FWIW, it sounds like one advantage of the new AWS service is that it will provision a new SSH key each time you connect. Whereas, I _think_ the GCP one provisions one key per machine.

Re:EC2 Instance Connect by jkaplowitz on Friday June 28, 2019 @01:25AM (#20301721)
Google's browser-based method uses a new key each time, set to expire from the server-side authorized_keys file in a short time (minutes). I strongly suspect, but haven't checked, that this is also true for their Cloud Console mobile app's SSH feature.

You're mostly right about gcloud, with some nuances for multi-user or network-homedir environments among other exceptions.

Gcloud does however have one of the snazziest possible hacks for resetting and securely communicating Windows account passwords:

https://cloud.google.com/compute/docs/instances/windows/auto...