Reputation: 3384
How do I use gcloud compute ssh with ssh's -t flag (pseudo-terminal allocation)?
Upvotes: 1
Views: 1684
Reputation: 1872
You can use --ssh-flag to pass the flags to the ssh command.
gcloud compute ssh INSTANCE --zone=ZONE --ssh-flag="-t"
Upvotes: 2