diff --git a/home/.chezmoi.yaml.tmpl b/home/.chezmoi.yaml.tmpl index 20c4d2e5..40922122 100644 --- a/home/.chezmoi.yaml.tmpl +++ b/home/.chezmoi.yaml.tmpl @@ -170,7 +170,7 @@ data: workgroup: "{{ $sambaWorkGroupName }}" ssh: allowTCPForwarding: no - allowUsers: {{ output "echo" "$USER" }} + allowUsers: {{ env "USER" }} endlesshPort: 22 port: 2214 vpn: diff --git a/home/.chezmoitemplates/ssh/authorized-keys.yubikey b/home/.chezmoitemplates/ssh/authorized_keys.yubikey similarity index 100% rename from home/.chezmoitemplates/ssh/authorized-keys.yubikey rename to home/.chezmoitemplates/ssh/authorized_keys.yubikey diff --git a/home/private_dot_ssh/private_config.tmpl b/home/private_dot_ssh/private_config.tmpl index f366412a..124cbe85 100644 --- a/home/private_dot_ssh/private_config.tmpl +++ b/home/private_dot_ssh/private_config.tmpl @@ -5,7 +5,6 @@ Host * IgnoreUnknown AddKeysToAgent,UseKeychain AddKeysToAgent yes UseKeychain yes - Compression no ExitOnForwardFailure yes ForwardAgent yes ForwardX11 no @@ -16,6 +15,7 @@ Host * ServerAliveInterval 60 ServerAliveCountMax 30 IdentitiesOnly yes + IdentityFile ~/.ssh/id_rsa Host gitlab.com UpdateHostKeys no Host github.com