All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 all: known_hosts authorized_keys config
5 known_hosts: $(wildcard known_hosts.d/*)
8 echo "### from $$f:"; \
13 authorized_keys: $(wildcard authorized_keys.d/*)
16 echo "### from $$f:"; \
21 SSH_VERSION = $(shell ssh -V 2>&1)
24 case "$(SSH_VERSION)" in \
26 sed -ri -e 's,^.+\bCanonical.+$$,##UNSUPPORTED##&,' \
29 (OpenSSH_5.[012345]*) \
30 sed -ri -e 's,^.+\bControlPersist\b.+$$,##UNSUPPORTED##&,' \
31 -e 's,^.+\bIPQoS\b.+$$,##UNSUPPORTED##&,' \
32 -e 's,^.+\bCanonical.+$$,##UNSUPPORTED##&,' \
36 sed -ri -e 's,^.+\bVisualHostKey\b.+$$,##UNSUPPORTED##&,' \
37 -e 's,^.+\bControlPersist\b.+$$,##UNSUPPORTED##&,' \
38 -e 's,^.+\bIPQoS\b.+$$,##UNSUPPORTED##&,' \
39 -e 's,^.+\bCanonical.+$$,##UNSUPPORTED##&,' \
43 sed -ri -e 's,^.+\bExitOnForwardFailure\b.+$$,##UNSUPPORTED##&,' \
44 -e 's,^.+\bMACs\b.+$$,##UNSUPPORTED##&,' \
45 -e 's,^(.+ControlPath ~/.var/ssh/ssh_control_)%l_(.+),\1\2,' \
46 -e 's,^.+\bVisualHostKey\b.+$$,##UNSUPPORTED##&,' \
47 -e 's,^.+\bControlPersist\b.+$$,##UNSUPPORTED##&,' \
48 -e 's,^.+\bIPQoS\b.+$$,##UNSUPPORTED##&,' \
49 -e 's,^.+\bCanonical.+$$,##UNSUPPORTED##&,' \
53 sed -ri -e 's,^.+\bExitOnForwardFailure\b.+$$,##UNSUPPORTED##&,' \
54 -e 's,^.+\bMACs\b.+$$,##UNSUPPORTED##&,' \
55 -e 's,^.+\bHashKnownHosts\b.+$$,##UNSUPPORTED##&,' \
56 -e 's,^.+\bControl(Master|Path|Persist)\b.+$$,##UNSUPPORTED##&,' \
57 -e 's,^.+\bIPQoS\b.+$$,##UNSUPPORTED##&,' \
58 -e 's,^.+\bCanonical.+$$,##UNSUPPORTED##&,' \