From e9d515d4c8521030d8994e10e4abfda6401a7e0c Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Tue, 28 Nov 2023 02:15:59 +0000 Subject: [PATCH] Updates --- home/.chezmoi.yaml.tmpl | 2 +- .../ssh/{authorized-keys.yubikey => authorized_keys.yubikey} | 0 home/private_dot_ssh/private_config.tmpl | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename home/.chezmoitemplates/ssh/{authorized-keys.yubikey => authorized_keys.yubikey} (100%) 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