Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can also add it to your ~/.ssh/config, so you can just ssh hostname, scp hostname, etc. without a public IP on the VM.

  Host myhost
       ProxyCommand gcloud compute ssh user@myhost --zone=myzone --tunnel-through-iap --command="nc 0.0.0.0 22" -- -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: