Skip to content

Instantly share code, notes, and snippets.

@jeongho
Created March 30, 2017 23:32
Show Gist options
  • Save jeongho/3bfc568bdcd0998f5ef4a70356866dac to your computer and use it in GitHub Desktop.
Save jeongho/3bfc568bdcd0998f5ef4a70356866dac to your computer and use it in GitHub Desktop.
Google Cloud Platform tips
ssh -i your_key_file -o UserKnownHostsFile=/dev/null \
-o CheckHostIP=no -o StrictHostKeyChecking=no user@ip_address
https://cloud.google.com/solutions/connecting-securely#socks-proxy-over-ssh
gcloud compute ssh example-instance \
--project my-project \
--zone us-central1-a \
--ssh-flag="-D" \
--ssh-flag="1080" \
--ssh-flag="-N"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment