dotfiles/private_dot_ssh/private_config.tmpl

42 lines
1.1 KiB
Cheetah

Host *
ForwardAgent yes
AddKeysToAgent yes
Host penguincoder.org
Port 2223
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
IdentityFile ~/.ssh/selfhosted
Host git.penguincoder.org
Port 2222
User git
IdentityFile ~/.ssh/gitea
ProxyCommand none
Host helium.penguincoder.org helium
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
HostName 192.168.1.50
Host hydrogen hydrogen.olympus
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
HostName 192.168.1.80
Host potassium potassium.olympus
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
HostName 192.168.1.60
ProxyCommand none
Host *.penguincoder.org !git.penguincoder.org
IdentityFile ~/.ssh/selfhosted
ProxyCommand ssh -W %h:%p penguincoder.org -p 2223
Host github.com
User git
IdentityFile ~/.ssh/github
Host jolijardin.co
User {{ (bitwardenFields "item" "jolijardin.co").username.value }}
PubKeyAuthentication no
# {{ (bitwardenFields "item" "jolijardin.co").password.value }}