Reputation
536
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
8 21
Impact
~36k people reached

Aug
21
awarded  Popular Question
Aug
2
comment Dynamically generate SSH Host entries in ~/.ssh/config
Understandable. Any feedback on the approach I outlined would be appreciated, especially if I'm overlooking either some important need or use case, or else some big (or small) obstacles.
Aug
2
comment Dynamically generate SSH Host entries in ~/.ssh/config
the link is dead
Aug
2
comment Dynamically generate SSH Host entries in ~/.ssh/config
My thought was to have .ssh/config.d with a file for each template, where each template would generate one or more entries in the final ~/.ssh/config. There would also be a file with universal variables, but each template could have its own variables which would take precedence over globals, listed at the top. The ~/.ssh/config file could be generated on demand or on a schedule—it wouldn't matter—as long as you never made direct edits to it that you wanted to preserve.
Aug
2
comment Dynamically generate SSH Host entries in ~/.ssh/config
Care to share your script? I've thought of doing this, but it seems that a robust and generic solution might take a lot of work to get right. Even if your solution is not yet that, it would be useful to know what you think it gets right, and what you would do differently if you were to do it over.
May
17
awarded  Nice Question
Apr
27
awarded  Nice Question
Mar
24
comment Non-ECC memory with ZFS: a stupid idea?
Thanks. I'm convinced. This is exactly what I needed to know.
Mar
24
accepted Non-ECC memory with ZFS: a stupid idea?
Feb
1
awarded  Popular Question
Nov
29
awarded  Constituent
Nov
25
awarded  Caucus
Nov
24
comment Mac OS X multi-user thin client server (terminal server)?
It's now $358.00 for 2 users. Sounds like a miserable price to me. You could almost buy a second Mini for that, and you'd have less contention for computer resources.
Oct
21
awarded  Notable Question
Aug
22
accepted How to get the Host value inside ~/.ssh/config
Aug
22
revised How to get the Host value inside ~/.ssh/config
added 226 characters in body
Aug
22
comment How to get the Host value inside ~/.ssh/config
That does work for the (simple) example I gave, but there may be cases where the Host line has a pattern to be matched, and I can't just put a literal Host value there.
Aug
22
accepted In Apache config, should it be “UserDir disabled” or “UserDir disable”?
Aug
22
asked How to get the Host value inside ~/.ssh/config
Jul
2
awarded  Curious