summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-26 22:23:04 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-26 22:23:04 +0100
commit1f79a073474b41263f50c3c0b35dc17b5cdddcf7 (patch)
treeaa57bfd2fda7519f5d381244ca162c98a5e6862f /dot_config
parent04caeee050e4f1afdc429d9209f12a027b150056 (diff)
downloaddotfiles-1f79a073474b41263f50c3c0b35dc17b5cdddcf7.tar.gz
dotfiles-1f79a073474b41263f50c3c0b35dc17b5cdddcf7.tar.bz2
dotfiles-1f79a073474b41263f50c3c0b35dc17b5cdddcf7.zip
Use Ubuntu SSH for corporate Git authentication
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/git/config.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_config/git/config.tmpl b/dot_config/git/config.tmpl
index 9987261..1e1265f 100644
--- a/dot_config/git/config.tmpl
+++ b/dot_config/git/config.tmpl
@@ -18,6 +18,8 @@
{{ if ne (default "host" (index . "machineRole")) "canonical" }}
hooksPath = ~/.config/git/hooks
sshCommand = "ssh -i ~/.ssh/nym.pub"
+{{ else }}
+ sshCommand = /usr/bin/ssh
{{ end }}
[branch]
sort=-committerdate