I am not able to login to the VM via SSH.
I tried following approaches -
-
Web SSH - getting authentication failure.
- On running troubleshoot, it gives everything okay
-
Creating SSH key and adding it to metadata and VM ssh keys
- Getting permission denied(public key) error.
I have owner level permission assigned to my profile.
Help me to solve this issue
1 Like
Check below first
-
If you are using public IP VM , make sure you have firewall allowed traffic on port 22.
-
If using private IP make sure IAP enabled with required API & firewall rule.
If this is in place and still not working Restart will resolve this ( If its not production VM and restart wont impact)
1 Like
I have already checked the firewall and I am able to telnet to the ip with port 22. I already checked by restarting the VM but it did not work
1 Like
Make sure that your public Key on the VM finishes with = yourgoogleusername (the part before the @Google .com email address.
1 Like