3

I'm having a weird error: the web shell for a Google Cloud shell is spewing endlessly my typing. youtube clip of error

'gcloud auth login' worked as expected.

I want to skip using the web shell and use regular ssh on mac osx into the cloud shell instance.

Using hostname nor the values mentioned below works.

In web shell:

darian_hickman@darianhickmancom:~$ hostname cs-6724-devshell-vm-9f3fde16-797e-4327-99a7-5c2710f10920-289 darian_hickman@darianhickmancom:~$ domainname (none)

On my local terminal:

DarianMac:~ darianhickman$ gcloud compute ssh darian_hickman@darianhickmancom ERROR: (gcloud.compute.ssh) Could not fetch instance: - The resource 'projects/darianhickmancom/zones/us-east1-d/instances/darianhickmancom' was not found

Darian Hickman
  • 853
  • 10
  • 26

2 Answers2

2

As of early 2018, it is now possible to connect Google Cloud Shell from terminal. See this answer to Is it possible to use the Google Cloud Shell via a ssh? for details.

Travis Webb
  • 14,688
  • 7
  • 55
  • 109
MaratB
  • 649
  • 3
  • 8
1

SSHing directly into a Cloud Shell instance is not supported. If you must use your own SSH client, I recommend looking into Google Compute Engine instances.

Sachin K
  • 339
  • 4
  • 14