install.fairie/home/private_dot_ssh/private_config.tmpl
2024-05-18 06:02:42 +00:00

39 lines
1.1 KiB
Cheetah

Host *
IgnoreUnknown AddKeysToAgent,UseKeychain
AddKeysToAgent yes
UseKeychain yes
ExitOnForwardFailure yes
ForwardAgent yes
ForwardX11 no
ForwardX11Trusted no
GSSAPIAuthentication no
PreferredAuthentications publickey
Protocol 2
ServerAliveInterval 60
ServerAliveCountMax 30
IdentitiesOnly yes
IdentityAgent none
IdentityFile ~/.ssh/ssh-13147527
IdentityFile ~/.ssh/ssh-13196452
IdentityFile ~/.ssh/ssh-5c-nano-laptop
IdentityFile ~/.ssh/ssh-5c-nano-green
IdentityFile ~/.ssh/ssh-5c-green
IdentityFile ~/.ssh/ssh-5-nano
IdentityFile ~/.ssh/ssh-5-nfc-green
IdentityFile ~/.ssh/ssh-5-nfc-red
IdentityFile ~/.ssh/ssh-5-nfc-yellow
IdentityFile ~/.ssh/id_rsa
Host gitlab.com
UpdateHostKeys no
IdentityFile ~/.ssh/id_rsa
Host github.com
UpdateHostKeys no
IdentityFile ~/.ssh/id_rsa
Host macbook-pro
User {{ .user.username }}
Hostname ssh-macbook-pro.{{ .host.domain }}
ProxyCommand /opt/homebrew/bin/cloudflared access ssh --hostname %h
{{ if (lookPath "fig") -}}
Match all
Include ~/.fig/ssh
{{- end -}}