Home > Software design >  GCP ssh-in-browser very slow
GCP ssh-in-browser very slow

Time:06-19

I am connecting to my VM using the ssh-in-browse

enter image description here

After few minutes of work it becomes VERY slow, waiting few seconds for each keyboard press to return

  • working with latest version of Chrome
  • disabled all extension
  • using the default connection

CodePudding user response:

Try to SSH from the browser in incognito mode. Sometimes, browser extensions can prevent the normal functioning of the SSH over the browser feature, that's why I recommend the incognito mode.

To use SSH-in-browser, your environment must meet the following requirements:

  1. The cloud console must be running in a supported web browser.

  2. The VM you're connecting to must have the guest environment installed and running. The guest environment is pre-installed on VMs that you create from Google-provided public images.

  3. Your network must meet the following requirements:

  • HTTPS proxies and security devices must not decrypt and re-encrypt traffic using their own TLS certificate, for example, to perform TLS inspection.

  • The network must allow traffic to and from hostnames ending in google.com, gstatic.com, or googleapis.com.

  • The network must allow packets to be sent to the IP addresses for the default domains.

Also check your list of firewalls with the gcloud compute command-line tool and ensure the default-allow-ssh rule is present. See troubleshooting-ssh.

  • Related