Support for machine suffixes.
I put the outer hostname as a suffix on VMs.
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
Host gitea.* github.com gitlab.com *.github.com *.gitlab.com
|
||||
Host gitea gitea.* github.com gitlab.com *.github.com *.gitlab.com
|
||||
User git
|
||||
|
||||
|
||||
Host *
|
||||
IdentityFile ~/.ssh/id_%L-%h
|
||||
IdentityFile ~/.ssh/id_%L${CSHENV_MACHINE_SUFFIX}-%h
|
||||
|
||||
# vim: ft=sshconfig
|
||||
|
Reference in New Issue
Block a user