https://bugzilla.mindrot.org/show_bug.cgi?id=3543
--- Comment #5 from Darren Tucker <[email protected]> --- (In reply to Carl Ponder from comment #4) > Here's something I *was* able to contrive. I generate a provisional > config-file that gets included back into the main one: > ``` > Match originalhost thatHost exec "~/.ssh/HACK/queryID thatHost" > include ~/.ssh/HACK/thatHost You can put the Include inside the Host block so you only need to put "User $whatever" in the file that changes: in ~/.ssh/config: Host foo Include ~/.ssh/foo.user Hostname bar UpdateHostKeys no then write "User $LOGIN" into ~/.ssh/foo.user > sync Aside: you probably don't need the sync (and it can have a negative impact on some workloads). -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
