Skip to content

Instantly share code, notes, and snippets.

@johnpaulashenfelter
Created October 18, 2019 14:37
Show Gist options
  • Save johnpaulashenfelter/e7b3e38062e0f690c3b01ebdf72930e7 to your computer and use it in GitHub Desktop.
Save johnpaulashenfelter/e7b3e38062e0f690c3b01ebdf72930e7 to your computer and use it in GitHub Desktop.
# ~/.ssh/config
```
Include conf.d/*
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
```
Starting with ssh 7.3 (released on August 1st, 2016)
Directory structure
```
~/.ssh/config
conf.d/
default.conf
special_stuff.conf
vadevops.conf
```
Added to vadevops.conf
```
Host socks socks-va vetsgov*
IdentityFile ~/.ssh/id_rsa_vagov
...
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment