.ssh/Makefile

Tue, 12 Jan 2021 12:54:37 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 12 Jan 2021 12:54:37 -0600
changeset 890
fe8cbacbbb5d
parent 608
177dfb2889ab
permissions
-rw-r--r--

Fix ssh-config fallback

481
92be81c404a5 Note to self
Meredith Howard <mhoward@roomag.org>
parents: 479
diff changeset
1 # Do away with this setup once openssh >=7.3 is readily available just move
92be81c404a5 Note to self
Meredith Howard <mhoward@roomag.org>
parents: 479
diff changeset
2 # config.d/10-base to config and add an Include config.d/*
92be81c404a5 Note to self
Meredith Howard <mhoward@roomag.org>
parents: 479
diff changeset
3
479
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 config: config.d/*
608
177dfb2889ab explicit chmod
Meredith Howard <mhoward@roomag.org>
parents: 568
diff changeset
5 cat config.d/* > $@ && chmod 600 $@
479
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 clean:
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 rm -f config
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
2b08e0404a8d Allow local ssh configs
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 .PHONY: clean

mercurial