Skip to content

Instantly share code, notes, and snippets.

@anamorph
Created April 21, 2015 10:25
Show Gist options
  • Save anamorph/baa70acf4cf06a96130e to your computer and use it in GitHub Desktop.
Save anamorph/baa70acf4cf06a96130e to your computer and use it in GitHub Desktop.
Avoid SSH connection timeout quick fix
# in ~/.ssh/config
# you can set this host by host:
Host mysshbastion
HostName mysshbastion.cloud.infrastructu.re
ServerAliveInterval 120 # in seconds
# or globally:
Host *
ServerAliveInterval 120 # in seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment