how can we edit ssh keys of VM In GCP Please guide

My ssh Keys in Vm Instance are showing "expireOn":"2020-11-20T00:06:44+000"

since then i am unable to connect to my VM and also not able to connect via SSH

Please guide on how to update the ssh keys on GCP


Solution 1:

You can upload your own SSH key. But I advise you to use Cloud IAP (Identity-Aware Proxy) to securely access your VMs. Protecting your cloud VMs with Cloud IAP context-aware access controls!