4 ms·
Until a recent version you couldn't even have a .d directory to hold a bunch of config files to simplify contacting your servers.
by karmicthreat 10y ago
Until a recent version you couldn't even have a .d directory to hold a bunch of config files to simplify contacting your servers.
- throwanem 10y agoOh neat, is that a thing now? I ask because I hacked up something a couple years back to let me manage files in ~/.ssh/config.d, plus a Makefile that produced ~/.ssh/config from them and a set of shims for OpenSSH commands which would run make before running ssh, scp, etc., to make sure the live config stayed up to date with changes in .d files. But I haven't used that pile of shell scripts or looked at it in a while, so it's probably started to smell a bit, and it would therefore be nice if this were a thing OpenSSH itself can now do.
- karmicthreat 10y agoI think everyone that uses ssh heavily ends up making some form of that script. Now I'm waiting for Apple to adopt a newer version of openssh
- icebraining 10y agoOh neat, is that a thing now? Yeah, since this Monday: http://www.openssh.com/txt/release-7.3 http://www.openssh.com/txt/release-7.3
- shabble 10y agoI started writing a FUSE fs specifically for this (and other fun dynamic .ssh/ things), but never got round to finishing it off. The wildcard and (very recent) .d support has mostly solved the need now, unless I can remember what exactly it was I couldn't get it to do before.