Skip to content

Instantly share code, notes, and snippets.

@thomasritz
Created June 8, 2012 11:48
Show Gist options
  • Save thomasritz/2895206 to your computer and use it in GitHub Desktop.
Save thomasritz/2895206 to your computer and use it in GitHub Desktop.
Organize ssh config in separate files
mkdir -p $HOME/.ssh/conf.d
mv $HOME/.ssh/config $HOME/.ssh/conf.d/orig.conf
echo 'cat $HOME/.ssh/conf.d/*.conf > $HOME/.ssh/config' >> $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment