Skip to content

Commit

Permalink
patch: remove GSSAPI entry from SSH config
Browse files Browse the repository at this point in the history
kachick/dotfiles#950
Signed-off-by: Kenichi Kamiya <[email protected]>
  • Loading branch information
kachick committed Nov 25, 2024
1 parent 9248baf commit 3c0b3ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/sshutil/sshutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3c0b3ac

Please sign in to comment.