Skip to content

Instantly share code, notes, and snippets.

@mrrooijen
Created December 21, 2016 02:00
Show Gist options
  • Save mrrooijen/8c1416ac82252eeacab349c8134be6c4 to your computer and use it in GitHub Desktop.
Save mrrooijen/8c1416ac82252eeacab349c8134be6c4 to your computer and use it in GitHub Desktop.
SSH config for keeping idle connections alive, and to automatically add ssh key to agent.
Host *
ServerAliveInterval 60
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment