For connection from Linux I use:
gcloud compute --project "xxx" ssh --zone "europe-west-b" "yyy"
After ~10 minutes of innactivity my console freeze or I see error 255
.
Google cloud has a session timeout across the board of 10 minutes, so you need to use a keepalive
. Try adding the argument --ssh-flag="-ServerAliveInterval=30"
- any value less than 600 should do the trick there.
There's a description of the timeout here, and full usage details for gcloud ssh here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With