Skip to content

SSH using IAP


You need to have a firewall rule below

IP Address Direction Port INBOUND 22

The above assumes you have SSH listening on port 22


gcloud compute ssh --zone "<zone of instance>" "<instance name>"  --project "<project>" --tunnel-through-iap

Want to make this site better? Open a PR or help fund hosting costs