google-cloud-platformgoogle-compute-enginegoogle-cloud-compute-engine

GCP instance ssh doesn't recognize user anymore because of different case


Since last week, I've been unable to ssh into my instances on compute engine, either from the command line or the gcp console.

I get the following message:

(gcloud.compute.ssh) User [kxxgxxx@gmail.com] does not have permission to access users instance [kxxgxxx@gmail.com] (or it may not exist): End user credentials must match the user specified in the request. Request for user [ kxxgxxx@gmail.com] does not match the credential for [KxxGxxx@gmail.com].

Originally, my email had uppercase letter (KxxGxxx@gmail.com). But when I log in on gcp, my email is lowercased. Never had any issue with about a week ago. Now I can't log in. I can log in from other accounts but can't reach this one. Some processes are running from this account so I need to be able to mange it again.

Thanks for reading and helping!

I tried to log log out and log in but it didn't change anything. I tried to log in from a different account. That works.

EDIT :

I use the following command to ssh: gcloud compute ssh <instance-name>


Solution

  • It seems the issue has resolved itself. Maybe with the last gcloud update.