mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
add ifdef to sftp-server.c
This commit is contained in:
parent
0488165b5e
commit
ca9f04bd94
@ -79,7 +79,7 @@ Describe "E2E scenarios for certificate authentication" -Tags "CI" {
|
|||||||
|
|
||||||
#set up SSH_ASKPASS for key passphrase
|
#set up SSH_ASKPASS for key passphrase
|
||||||
Add-PasswordSetting -Pass $keypassphrase
|
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
|
Remove-PasswordSetting
|
||||||
|
|
||||||
Stop-SSHDTestDaemon -Port 47004
|
Stop-SSHDTestDaemon -Port 47004
|
||||||
|
@ -745,8 +745,9 @@ process_init(void)
|
|||||||
compose_extension(msg, "expand-path@openssh.com", "1");
|
compose_extension(msg, "expand-path@openssh.com", "1");
|
||||||
compose_extension(msg, "copy-data", "1");
|
compose_extension(msg, "copy-data", "1");
|
||||||
compose_extension(msg, "home-directory", "1");
|
compose_extension(msg, "home-directory", "1");
|
||||||
|
#ifndef WINDOWS
|
||||||
compose_extension(msg, "users-groups-by-id@openssh.com", "1");
|
compose_extension(msg, "users-groups-by-id@openssh.com", "1");
|
||||||
|
#endif
|
||||||
send_msg(msg);
|
send_msg(msg);
|
||||||
sshbuf_free(msg);
|
sshbuf_free(msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user