2

After creating an instance in Google Cloud Platform(GCP), I was able to click on SSH and open the browser based SSH console to access the instance. (Auto key copying and connect from console itself without a local ssh client) But I noticed this is not working since a few days and browser hangs (tried on Firefox, Chrome etc).

Has anyone experienced similar issue before?

note : connection is okay with putty/local client as well as from Cloud Shell console (gcloud compute --project "blackforest" ssh --zone "us-east1-b" "test-instance")

0

Did you modify the VPC Network firewall rule that allows SSH connectivity to the Google compute engine instance ? Make sure that the IP source range is not restrictive. For example set 0.0.0.0/0 as source range to make sure all IPs can access.

You can find more info on the documentation:

  • Thanks @Django, Yes, nothing changed in VPC or subnet level. As mentioned above connection working via putty (local pc console) or from google cloud shell. Seems something related to web ssh method. Need to check on some more PC's :) – Gineesh Mar 30 '18 at 2:01
  • SSH connectivity from the browser SSH button is initiated by a IP address in Google network completely different than your IP address or local network. That's why you should make sure that the firewall allows 0.0.0.0/0 as source range for SSH access. – Django Apr 5 '18 at 7:22
  • Thank, mm, not sure on that. Thanks @Ahmed, But I have tried same from different accounts and different projects (even from different workstations/browsers). not sure what is the exact issue. – Gineesh Apr 6 '18 at 8:48
0

make sure on instance settings , that you didn't check the option block project metadata .

You can check by clicking on instance name and edit

  • Thanks @Ahmed, But I have tried same from different accounts and different projects (even from different workstations/browsers). not sure what is the exact issue. – Gineesh Apr 6 '18 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.