I am not able to login to the VM via SSH.
I tried following approaches -
I have owner level permission assigned to my profile.
Help me to solve this issue
Check below first
1. If you are using public IP VM , make sure you have firewall allowed traffic on port 22.
2. 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)
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
Make sure that your public Key on the VM finishes with = yourgoogleusername (the part before the @Google.com email address.