# HG changeset patch # User Meredith Howard # Date 1680982037 18000 # Node ID 0c1f1cf78ed975b14f0a64b871dfb8a170cc0b09 # Parent 33dd24d2b740eab958c8853eee5dedfe92ec74a8 remove ssh config makefile stuff diff --git a/.profile.common b/.profile.common --- a/.profile.common +++ b/.profile.common @@ -1,12 +1,6 @@ # vim: ft=bash # simple profile stuff that is common to both zsh and bash -# most ssh versions support include now, see if i can... -make -s -C ~/.ssh || { - umask 077 - cat ~/.ssh/config.d/* > ~/.ssh/config -} - umask 027 HISTIGNORE="ls:cd:cd -:pwd:exit:date:privim" diff --git a/.ssh/Makefile b/.ssh/Makefile deleted file mode 100644 --- a/.ssh/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# Do away with this setup once openssh >=7.3 is readily available just move -# config.d/10-base to config and add an Include config.d/* - -config: config.d/* - cat config.d/* > $@ && chmod 600 $@ - -clean: - rm -f config - -.PHONY: clean diff --git a/.ssh/config b/.ssh/config new file mode 100644 --- /dev/null +++ b/.ssh/config @@ -0,0 +1,9 @@ +ControlPath ~/.ssh/mux/%h-%p-%r +ControlPersist 10 + +ExitOnForwardFailure yes + +Host roomag.org *.roomag.org + ForwardAgent yes + +Include config.d/*.ssh diff --git a/.ssh/config.d/10-main b/.ssh/config.d/10-main deleted file mode 100644 --- a/.ssh/config.d/10-main +++ /dev/null @@ -1,14 +0,0 @@ -ControlPath ~/.ssh/mux/%h-%p-%r -ControlPersist 10 - -ExitOnForwardFailure yes - -Host roomag.org *.roomag.org - ForwardAgent yes - -Host vagrant - Hostname 127.0.0.1 - Port 2222 - User vagrant - IdentityFile ~/.vagrant.d/insecure_private_key - diff --git a/.ssh/config.d/20-vagrant.ssh b/.ssh/config.d/20-vagrant.ssh new file mode 100644 --- /dev/null +++ b/.ssh/config.d/20-vagrant.ssh @@ -0,0 +1,7 @@ +# vim: ft=sshconfig + +Host vagrant + Hostname 127.0.0.1 + Port 2222 + User vagrant + IdentityFile ~/.vagrant.d/insecure_private_key