From 3c0b3ac95aca083531db06b901abe7651b0b8554 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 26 Nov 2024 02:24:16 +0900 Subject: [PATCH] patch: remove GSSAPI entry from SSH config https://github.com/kachick/dotfiles/issues/950 Signed-off-by: Kenichi Kamiya --- pkg/sshutil/sshutil.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/sshutil/sshutil.go b/pkg/sshutil/sshutil.go index af141e660a6..02010224728 100644 --- a/pkg/sshutil/sshutil.go +++ b/pkg/sshutil/sshutil.go @@ -185,7 +185,10 @@ func CommonOpts(useDotSSH bool) ([]string, error) { "StrictHostKeyChecking=no", "UserKnownHostsFile=/dev/null", "NoHostAuthenticationForLocalhost=yes", - "GSSAPIAuthentication=no", + // Since NixOS 24.11, omit GSSAPI support by default + // And OpenSSH does not return the compiled flags, we can't extract the information from ssh command + // See https://github.com/kachick/dotfiles/issues/950 for detail + // "GSSAPIAuthentication=no", "PreferredAuthentications=publickey", "Compression=no", "BatchMode=yes",