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

Cannot SSH via cloud shell code editor

Hello,

Using cloud shell code editor (ide.cloud.google.com), when clicking "Open SSH" on a running instance in the "Cloud Code" extension (compute engine subcategory) :

TurboP_0-1685391548630.png

it gives this :

TurboP_1-1685391610080.png

A blank terminal. It seems the instance is not reacheable through whatever command GCP uses when cliking the "Open SSH" button.

Note that SSH via cloud shell terminal and on compute engine console works perfectly through default port 22.

What is the reason for this blank terminal and how to solve this ? Search on the community was unsuccessful. Thanks

 

0 2 452
2 REPLIES 2

Hello @TurboP,

Welcome to Google Vloud Community!

If you want to establish an interactive session with cloud shell, run:

gcloud cloud-shell ssh

See gcloud cloud-shell ssh for reference

Thanks for answering. The problem is not accessing the instance via ssh, the problem is that when clicking the dedicated button, the output produces nothing. Is this intented (I don’t think so) or is it a bug ?