Closed GoogleCodeExporter closed 9 years ago
This should work:
gcloud compute ssh instance-1 --zone us-central1-b --ssh-flag="-P"
--ssh-flag="443"
Original comment by tovbinm@gmail.com
on 3 Jun 2015 at 3:42
SCP uses -P and ssh uses -p for port. Please try:
gcloud compute ssh instance-1 --zone us-central1-b --ssh-flag="-p443"
Let me know if that does not work for you.
Original comment by stephe...@google.com
on 3 Jun 2015 at 2:21
I tried
gcloud compute ssh instance-1 --zone us-central1-b --ssh-flag="-P"
--ssh-flag="443"
and it worked properly. It's a little confusing since I would think the
--ssh-flag would accept a standard argument. I understand splitting up
different arguments amongst mutliple --ssh-flag options (which is the case on
Linux), but on Windows it's non-intuitive.
Thank you for the help.
Original comment by eclip...@gmail.com
on 10 Jun 2015 at 3:28
Original issue reported on code.google.com by
eclip...@gmail.com
on 27 Apr 2015 at 3:41Attachments: