Split ssh config into common plus a host layer
Putting the whole ssh config in common/ was wrong twice over. It mapped git.rcjohnstone.com to localhost:2222, which is only true on mainframe where Gitea runs -- on system76 it broke git entirely. And it replaced a 77-line file holding 13 personal host aliases (storagebox, several forwarded localhost ports, older work hosts) with a five-entry fleet list. common/ssh/config now Includes ~/.ssh/config.local first, so host entries win on the first-value-obtained rule, and carries only the fleet aliases. Each host keeps its own list; system76's is restored verbatim.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Work-specific hosts.
|
||||
Host framework1
|
||||
HostName 100.100.61.12
|
||||
User scout-dev
|
||||
IdentityFile ~/.ssh/id_ed25519
|
||||
Reference in New Issue
Block a user