mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 10:47:31 -08:00
ssh config for kestrel with templating
This commit is contained in:
parent
efe2f4c914
commit
13ae39db7d
@ -1,3 +0,0 @@
|
||||
Host github.com
|
||||
AddKeysToAgent yes
|
||||
IdentityFile /run/agenix/git/github_personal
|
12
home/private_dot_ssh/config.tmpl
Normal file
12
home/private_dot_ssh/config.tmpl
Normal file
@ -0,0 +1,12 @@
|
||||
Host github.com
|
||||
AddKeysToAgent yes
|
||||
IdentityFile /run/agenix/git/github_personal
|
||||
{{ if eq .chezmoi.hostname "kestrel" }}
|
||||
Host torus
|
||||
AddKeysToAgent yes
|
||||
IdentityFile /run/agenix/ssh/kestrel/id_ed25519
|
||||
|
||||
Host bulwark
|
||||
AddKeysToAgent yes
|
||||
IdentityFile /run/agenix/ssh/kestrel/id_ed25519
|
||||
{{- end }}
|
Loading…
x
Reference in New Issue
Block a user