add ifdef to sftp-server.c

This commit is contained in:
Tess Gauthier 2022-10-13 15:51:05 -04:00
parent 0488165b5e
commit ca9f04bd94
2 changed files with 3 additions and 2 deletions

View File

@ -79,7 +79,7 @@ Describe "E2E scenarios for certificate authentication" -Tags "CI" {
#set up SSH_ASKPASS for key passphrase
Add-PasswordSetting -Pass $keypassphrase
$o = ssh -i $user_key -p 47004 $pkuser@$server echo 2345
$o = ssh -vvv -i $user_key -p 47004 $pkuser@$server echo 2345
Remove-PasswordSetting
Stop-SSHDTestDaemon -Port 47004

View File

@ -745,8 +745,9 @@ process_init(void)
compose_extension(msg, "expand-path@openssh.com", "1");
compose_extension(msg, "copy-data", "1");
compose_extension(msg, "home-directory", "1");
#ifndef WINDOWS
compose_extension(msg, "users-groups-by-id@openssh.com", "1");
#endif
send_msg(msg);
sshbuf_free(msg);
}