SSH connection stopped working from browser( from VM instances area)

54 views
Skip to first unread message

KIET CLOUD

unread,
Apr 24, 2021, 9:26:43 AM4/24/21
to gce-discussion
I am google cloud user since November 2020 and I am with connecting VM instances through default SSH on daily basis. But it stopped working from last few days.
Someone advise me to change the Browser and try it and I did try it but failed to connect any VM instance.

Someone advise me to try connect from another computer and I did try and connected successfully with VM instances but after few day I faced same problem. I am unable to understand if I misconfigured something then why its started working from another computer.

I am attaching the screenshot of the error. 

Kindly help me to resolve this issue.
SSH error.png

mbazzi

unread,
Apr 24, 2021, 7:09:41 PM4/24/21
to gce-discussion
Hello,

It appears as the firewall is blocking access to port 22.

- Make sure that the instance's internal firewall is allowing the ssh port

- Make sure you have firewall rule configured in GCE network to allow ssh port.

Depending on the linux image you are using, you can use the startup-script option to inject a command that would open port 22 on your operating system

KIET CLOUD

unread,
Apr 25, 2021, 9:07:35 AM4/25/21
to gce-discussion
Amazingly SSH connection through browser stared working. Really I did not make any change. I just clicked on specific VM instance and from details section I clicked on SSH and it started working. 
Reply all
Reply to author
Forward
0 new messages