ssh config: include multiple files
it is useful to split up the ssh config file.
do as follows
- create config folder
$ mkdir ~/.ssh/config.d
- create multiple config files in that folder (I group different hosts, and use a global options file)
$ touch ~/.ssh/config.d/group1
$ touch ~/.ssh/config.d/group2
$ touch ~/.ssh/config.d/group3
$ touch ~/.ssh/config.d/options
- include the whole directory by using the standard config file
[code language="bash" collapse="false" title="~/.ssh/config"]
$ cat ~/.ssh/config
Include config.d/*
[/code]