Remove templating from ssh config

This commit is contained in:
Gabriel Augendre 2023-05-04 00:17:24 +02:00 committed by GitHub
parent ac7106f30e
commit ff97d62db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,19 +37,9 @@ Host hyperhdr
hostname hyperhdr.local
user pi
{{- if hasKey . "proxy" }}
Host github.com
Hostname ssh.github.com
Port 443
User git
ProxyCommand nc -X connect -x {{ .proxy.address }}:{{ .proxy.port }} %h %p
{{- end }}
Host *
AddKeysToAgent yes
{{- if eq .chezmoi.os "darwin" }}
UseKeychain yes
{{- end }}
SendEnv LANG
port 22
XAuthLocation /opt/X11/bin/xauth