如何使用带有ssh -t标志(伪终端分配)的gcloud computing ssh?
您可以使用--ssh-flag将标志传递给ssh命令。
gcloud compute ssh INSTANCE --zone=ZONE --ssh-flag="-t"