# /home/me/google-cloud-sdk/bin/gcloud compute -project "myproject" ssh -zone "myzone" -t adding -dryrun I can connect with the -plain flag, but not when I use it in my ssh config. This shows the ssh command that is run, it adds on a lot of flags I don't really care to have, adding the -plain flag gives me a stripped down version, with one -t flag. I tried /home/me/google-cloud-sdk/bin/gcloud compute -project "myproject" ssh -zone "myzone" -dryrun
It seems to establish a connection, but I don't have a prompt to type at, so I press ctrl-c to kill it. bash: line 1: $'SSH-2.0-OpenSSH_8.0\r': command not found Pseudo-terminal will not be allocated because stdin is not a terminal. Prox圜ommand /home/me/google-cloud-sdk/bin/gcloud compute -project "myproject" ssh -zone "myzone" then run ssh gcloud and get: # ssh gcloud To connect to gcloud I can run: /home/me/google-cloud-sdk/bin/gcloud compute -project "myproject" ssh -zone "myzone" I added an entry to my. ssh foo connects me to a node that I can only connect to through the gcloud box. The desired functionality is ssh gcloud would connect me to the gcloud instance.
However, I am having problems getting a config that will allow me to even connect to the google cloud compute instance. I would like to use my ssh config to use a google cloud compute instance as a jumpbox to connect to another box.