This recently stopped working on new Debian instances. It seems to have
something to do with which image the instance is based on, but I cannot be 100%
sure. I tried this a few minutes ago as of this writing:
Instance based on backports-debian-7-wheezy-v20140718:
$ echo Hello | gcloud compute ssh --zone=us-central1-b INSTANCE_NAME --command
cat
Warning: Permanently added '107.178.####' (RSA) to the list of known hosts.
Warning: Permanently added '107.178.####' (RSA) to the list of known hosts.
Hello
Instance based on backports-debian-7-wheezy-v20140814 - brand new instance, no
configuration on my part, created using the defaults in the developer console,
running the f1-micro machine type:
$ echo Hello | gcloud compute ssh --zone=us-central1-b instance-1 --command cat
Warning: Permanently added '23.251.####' (RSA) to the list of known hosts.
Warning: Permanently added '23.251.####' (RSA) to the list of known hosts.
Note the absense of "Hello" in the latter. Getting a shell on the latter using
the ssh command works as expected, so it's not a firewall problem.
Original issue reported on code.google.com by haakone...@gmail.com on 26 Aug 2014 at 9:53
Original issue reported on code.google.com by
haakone...@gmail.com
on 26 Aug 2014 at 9:53