mirror of
https://github.com/curl/curl.git
synced 2026-07-24 20:27:18 +03:00
sshserver.pl: add option to enable KEX algorithms in sshd
Necessary when the libssh2/libssh client library does not support KEX algos offered by default by the OpenSSH server. E.g. libssh2 with WinCNG combined with OpenSSH 10+. Also: use this option in GHA/windows. Follow-up to3b8bb1a86a#21219 Follow-up toc98d0a2e9a#21220 Closes #21438
This commit is contained in:
parent
d19a039472
commit
41f3f94d91
2 changed files with 5 additions and 0 deletions
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
|
@ -510,6 +510,7 @@ jobs:
|
|||
if [[ "${MATRIX_INSTALL}" = *'libssh2-wincng'* ]]; then
|
||||
TFLAGS+=' ~SCP ~SFTP' # Flaky: `-8, Unable to exchange encryption keys`. https://github.com/libssh2/libssh2/issues/804
|
||||
unset CURL_TEST_SSH_KEYALGO # libssh2 built with WinCNG does not support ssh-ed25519 hostkeys
|
||||
export CURL_TEST_SSH_ENABLE_KEX=diffie-hellman-group-exchange-sha256
|
||||
fi
|
||||
if [[ "${TFLAGS}" = *'-t'* ]]; then
|
||||
TFLAGS+=' !2300' # Leaks memory and file handle via tool_doswin.c / win32_stdin_read_thread()
|
||||
|
|
@ -1164,6 +1165,7 @@ jobs:
|
|||
"${MATRIX_INSTALL_VCPKG}" = *'libssh2[core,zlib]'* ]]; then
|
||||
TFLAGS+=' ~SCP ~SFTP' # Flaky: `-8, Unable to exchange encryption keys`. https://github.com/libssh2/libssh2/issues/804
|
||||
unset CURL_TEST_SSH_KEYALGO # libssh2 built with WinCNG does not support ssh-ed25519 hostkeys
|
||||
export CURL_TEST_SSH_ENABLE_KEX=diffie-hellman-group-exchange-sha256
|
||||
fi
|
||||
if [ -n "${MATRIX_OPENSSH}" ]; then # OpenSSH-Windows
|
||||
TFLAGS+=' ~601 ~603 ~617 ~619 ~621 ~641 ~665 ~2004' # SCP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue