Win32-OpenSSH icon indicating copy to clipboard operation
Win32-OpenSSH copied to clipboard

Bad configuration option: GSSAPIDelegation

Open bvivi57 opened this issue 1 year ago • 1 comments
trafficstars

Prerequisites

  • [X] Write a descriptive title.
  • [X] Make sure you are able to repro it on the latest version
  • [X] Search the existing issues.

Steps to reproduce

Hi, I would like to enable authentication delegation through SSHD in order to use kerberos. The aim is to be able to run powershell commands like get-childitem and Invoke-DbaQuery through ssh.

When I enable the “GSSAPIAuthentication yes” option, I can restart the SSHD deamon without error.

But when I activate the “GSSAPIDelegation yes” option I get the error “Bad configuration option: GSSAPIDelegation”.

My configuration :

Windows Server 2022 21H2 OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

Expected behavior

Service SSHd Up

Actual behavior

Service SSHd Down

Error details

__PROGRAMDATA__\\ssh/sshd_config: line 59: Bad configuration option: GSSAPIDelegation

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             Microsoft Windows 10.0.20348
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

Visuals

No response

bvivi57 avatar Apr 25 '24 17:04 bvivi57

GSSAPIDelegation is an argument for ssh_config, not sshd_config. Passing -K as a command-line argument to ssh has the same effect as setting it in ssh_config.

tgauth avatar Apr 29 '24 18:04 tgauth