diff --git a/private_dot_ssh/private_executable_config.tmpl b/private_dot_ssh/private_executable_config.tmpl index fdf27b9..7a26f5c 100644 --- a/private_dot_ssh/private_executable_config.tmpl +++ b/private_dot_ssh/private_executable_config.tmpl @@ -1,8 +1,8 @@ Host github.com ForwardAgent yes - {{ if .homebrew }} + {{- if .homebrew -}} UseKeychain yes - {{ end }} + {{- end -}} IdentityFile ~/.ssh/github Host ssh.dev.azure.com @@ -11,7 +11,6 @@ Host ssh.dev.azure.com HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa - Host front Hostname 10.0.9.0 Port 222 @@ -31,10 +30,10 @@ Host server PubKeyAuthentication yes IdentityFile /Users/kah/.ssh/id_clank -{{ if .homebrew}} +{{- if .homebrew -}} Host * IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" -{{ end }} +{{- end -}} Host clank_postgres Hostname 10.0.9.8