loop enter google authenticator code after enabled oslogin 2fa
134 views
Skip to first unread message
陳冠志
unread,
Mar 1, 2022, 10:28:02 AM3/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gce-discussion
I have problem to login compute engine. Before enable oslogin I could login compute engine.
After enabled oslogin and oslogin-2fa, it loop the google 2fa verification window when I entering the google authenticator code. Please help, thanks.
Bruno (Google Cloud Support)
unread,
Mar 1, 2022, 1:25:55 PM3/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gce-discussion
Hello ~ For OSLogin and 2FA configuration, it's recommended to follow the instructions from this documention [1] including the limitations [2] and user IAM permission [3].
The limitations and permissions are common issues with OSLogin. That being said, I suggest to use gcloud [4] command with the flag `--verbose=debug` & `--ssh-flag="-vvv"` to get a better understanding on your connection attempts.
The SSH command [5] will look something like this one: gcloud compute ssh [USER@INSTANCE] --verbose=debug --ssh-flag="-vvv"
For going any further in the SSH troubleshoot, we have a complet guide here [6] that worth to be mentioned.