Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to connect with VM with browser SSH

Hi  , I am unable to connect with my Virtual Machine via browser ssh after upgrading to custom-1-2816.

rohithkp_0-1654864102935.png

troubleshooting tool gives no error.

rohithkp_1-1654864166871.png

Don't have any idea how to debug further.

Thanks in advance

 

0 4 197
4 REPLIES 4

Have there been any changes to firewall rules recently?

In both cases it indicates it is using IAP, do you have the right firewall rule for IAP? see: https://cloud.google.com/iap/docs/using-tcp-forwarding#create-firewall-rule

I have not changed any rules.

When trying to connect from from local system via ssh and google cloud shell, i got the exception

' Permission denied (publickey). 
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].'
For other instances, I don't face any issues while connecting with browser ssh / Google shell  ssh.

Do you have your SSH key on your local system configured for access?

Yes, I configured it to debug the issue. 

Note : I configured the project wide SSH key for debugging.