mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-09-25 10:58:56 +02:00
fix test-exec to find sshd-session on Windows
This commit is contained in:
parent
78fa6b269a
commit
18f1991754
@ -96,7 +96,11 @@ SSHKEYGEN=ssh-keygen
|
|||||||
SSHKEYSCAN=ssh-keyscan
|
SSHKEYSCAN=ssh-keyscan
|
||||||
SFTP=sftp
|
SFTP=sftp
|
||||||
SFTPSERVER=/usr/libexec/openssh/sftp-server
|
SFTPSERVER=/usr/libexec/openssh/sftp-server
|
||||||
SSHD_SESSION=/usr/libexec/sshd-session
|
if [ "$os" == "windows" ]; then
|
||||||
|
SSHD_SESSION=sshd-session.exe
|
||||||
|
else
|
||||||
|
SSHD_SESSION=/usr/libexec/sshd-session
|
||||||
|
fi
|
||||||
SCP=scp
|
SCP=scp
|
||||||
|
|
||||||
# Set by make_tmpdir() on demand (below).
|
# Set by make_tmpdir() on demand (below).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user