Fri, 20 Jan 2017 10:21:26 -0500
Allow local ssh configs
.profile.common | file | annotate | diff | comparison | revisions | |
.ssh/Makefile | file | annotate | diff | comparison | revisions | |
.ssh/config.d/10-main | file | annotate | diff | comparison | revisions |
--- a/.profile.common +++ b/.profile.common @@ -1,5 +1,7 @@ # simple profile stuff that is common to both zsh and bash +make -s -C ~/.ssh & + export EDITOR=vim export LESS=-Ri export PERL_CPANM_OPT='-nq --prompt'
new file mode 100644 --- /dev/null +++ b/.ssh/Makefile @@ -0,0 +1,7 @@ +config: config.d/* + cat config.d/* > $@ + +clean: + rm -f config + +.PHONY: clean
new file mode 100644 --- /dev/null +++ b/.ssh/config.d/10-main @@ -0,0 +1,15 @@ +ControlPath ~/.ssh/mux/%h-%p-%r +ControlPersist 10 + +ExitOnForwardFailure yes + +Host * + # CVE-2016-0778 workaround + UseRoaming no + +Host vagrant + Hostname 127.0.0.1 + Port 2222 + User vagrant + IdentityFile ~/.vagrant.d/insecure_private_key +