Skip to content

Instantly share code, notes, and snippets.

@jcastellanos926
Last active April 8, 2019 15:16
Show Gist options
  • Save jcastellanos926/d69385d1795e6617f62cec3e7cc1a38f to your computer and use it in GitHub Desktop.
Save jcastellanos926/d69385d1795e6617f62cec3e7cc1a38f to your computer and use it in GitHub Desktop.
How to create a config.d folder for SSH connections

Create a config.d folder for SSH connections

Prerequisites:

  • ssh version > 7.3

How to know ssh installed version:

  • Execute: $ ssh -V

Configure SSH to use includes from ~/.ssh/config.d directory

$ mkdir ~/.ssh/config.d
$ sed -i '1iInclude config.d/*' ~/.ssh/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment