3 ms·
I version control the entire directory (ignoring the known_hosts file) somewhere like ~/config/ssh and symlink it to ~/.ssh. It contains a Makefile with a targe
by wampus 12y ago
I version control the entire directory (ignoring the known_hosts file) somewhere like ~/config/ssh and symlink it to ~/.ssh. It contains a Makefile with a target that runs this command:
ln -s ${PWD} ~/.ssh
Just make sure the directory is chmod 700 and the important files in it are chmod 600.
- jethro_tell 12y agoAlso ignore any private keys. For security, but also each host should have a different key so you can burn one without burning them all.