summaryrefslogtreecommitdiff
path: root/tests/sshserver.pl
AgeCommit message (Collapse)Author
2020-05-20renamenikita
2020-04-11tests: use Cygwin/msys PIDs for stunnel and sshd on WindowsMarc Hoersken
Since the Windows versions of both programs would write Windows PIDs to their pidfiles which we cannot handle, we need to use our known perl.exe Cygwin/msys PID together with exec() in order to tie the spawned processes to the existance of our perl.exe The perl.exe that is executing secureserver.pl and sshserver.pl has a Cygwin/msys PID, because it is started inside Cygwin/msys. Related to #5188
2020-04-10sshserver.pl: use cached Win32 environment check variableMarc Hoersken
2020-03-24copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
2020-03-07libssh: Fix matching user-specified MD5 hex keyJay Satiro
Prior to this change a match would never be successful because it was mistakenly coded to compare binary data from libssh to a user-specified hex string (ie CURLOPT_SSH_HOST_PUBLIC_KEY_MD5). Reported-by: fds242@users.noreply.github.com Fixes https://github.com/curl/curl/issues/4971 Closes https://github.com/curl/curl/pull/4974
2019-12-09tests: fix permissions of ssh keys in WSLMarc Hoersken
Keys created on Windows Subsystem for Linux (WSL) require it for some reason. (This is one of several commits to support use of WSL for the tests.) Ref: https://github.com/curl/curl/pull/3899
2019-05-22tests: add support to test against OpenSSH for WindowsMarc Hoersken
Testing against OpenSSH for Windows requires v7.7.0.0 or newer due to the use of AllowUsers and DenyUsers. For more info see: https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config
2019-04-13test: make tests and test scripts use socksd for SOCKSDaniel Stenberg
Make all SOCKS tests use socksd instead of ssh.
2017-03-26spelling fixesklemens
Closes #1356
2016-04-29tests: Use 'pathhelp' for paths conversions in sshserver.plKarlson2k
2016-03-26sshserver.pl: use quotes for given optionsKarlson2k
Fixed failed redirection of stderr with some options. At least on Msys2, perl fails to redirect stderr if $value contains newline or other weird characters.
2016-03-22Revert "sshserver: remove use of AuthorizedKeysFile2"Daniel Stenberg
It seems we may have some autobuild problems after this commit went in. Trying to see if a revert helps to get them back. This reverts commit 2716350d1f3edc8e929f6ceeee05051090f6d642.
2016-03-21sshserver: remove use of AuthorizedKeysFile2Daniel Stenberg
Support for the (undocumented) AuthorizedKeysFile2 was removed in OpenSSH 5.9, released in September 2011 Closes #715
2016-02-23tests/sshserver.pl: use RSA instead of DSA for host authKamil Dudka
DSA is no longer supported by OpenSSH 7.0, which causes all SCP/SFTP test cases to be skipped. Using RSA for host authentication works with both old and new versions of OpenSSH. Reported-by: Karlson2k Closes #676
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2014-12-22sshserver.pl: clarify and streamline variable namesMarc Hoersken
2014-12-21tests: use Cygwin-style paths in SSH, SSHD and SFTP config filesMarc Hoersken
Second patch to enable Windows support using Cygwin-based OpenSSH. Tested with CopSSH 5.0.0 free edition using an msys shell on Windows 7.
2014-12-21tests: support spaces in paths to SSH, SSHD and SFTP binariesMarc Hoersken
First patch to enable Windows support using Cygwin-based OpenSSH.
2013-04-25sshserver: disable StrictHostKeyCheckingDaniel Stenberg
I couldn't figure out why the host key logic isn't working, but having it set to yes prevents my SSH-based test cases to run. I also don't see a strong need to use strict host key checking on this test server. So I disabled it.
2011-08-31test harness: fix detection of test harness client knownhosts fileYang Tse
Regenerate curl's tests client knownhosts file also when, somehow, this file is empty.
2011-08-31test harness: fix detection of test harness host and client key filesYang Tse
Regenerate curl's tests host and client key files also when, somehow, any of these files are empty.
2010-03-24restore executable bits on some filesDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-01-15Start using the centralized pidfile and logfile name generationYang Tse
subroutines for ssh and socks test suite servers.
2008-04-04SunSSH sshd ignores UsePrivilegeSeparation optionYang Tse
2008-04-04SunSSH 1.2 options syncYang Tse
2008-02-11Additional SunSSH 1.1 ssh server optionsYang Tse
2008-02-08Get rid of sftp subsystem additional parameters, they aren't widely supportedYang Tse
2008-02-08To verify that the sftp server is actually running, responsive and thatYang Tse
all curl's tests generated configuration and key files are fine, a real connection is established to the test harness sftp server authenticating and running a simple sftp remote pwd command. The verification is done using OpenSSH's or SunSSH's sftp client tool with a configuration file with the same options as the test harness socks server with the exception that dynamic forwarding is not used for sftp.
2008-01-31When possible, use additional config options for test harness ssh server,Yang Tse
which are deprecated in recent OpenSSH versions but are current for SunSSH.
2008-01-27Dont rely on PAMAuthenticationViaKbdInt default being 'no'Yang Tse
2008-01-20Also disable GSSAPIAuthentication for the test harness ssh clientYang Tse
2008-01-12Remove hardcoded verbosityYang Tse
2008-01-10Temporary change to help debugging SSH server verification failuresYang Tse
2008-01-08Remove increased loglevel intended to debug autobuild's publickeyYang Tse
authentication failures when using OpenSSH 2.9.9 or SunSSH. Verified fact: Even when only using publickey authentication, OpenSSH and SunSSH first validate the user, this implies that if the user validation fails, 'invalid user', the publickey authentication will not be allowed to complete.
2008-01-08Increase loglevel to debug autobuild's publickey authenticationYang Tse
failures when using OpenSSH 2.9.9 or SunSSH
2008-01-06Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictiveYang Tse
2008-01-04'ControlPath' ssh client configuration file option requires OpenSSH 4.2 orYang Tse
later to accept 'none' as an indication to disable connection multiplexing
2008-01-04SunSSH 1.1 ssh client does not support config file options:Yang Tse
ConnectTimeout ForwardX11Trusted HashKnownHosts RekeyLimit ServerAliveCountMax ServerAliveInterval
2008-01-04'LocalCommand' no longer used for ssh client config file. When used itYang Tse
requires a non blank argument.
2008-01-03Modify test harness so that the minimum SSH version required to runYang Tse
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0 For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
2007-12-22Use getcwd() to get the directory, which works even if one of the directoryDan Fandrich
components doesn't have read permission set.
2007-11-28To allow remote log inspection avoid redirecting messages to stderr.Yang Tse
Cleanup some debugging messages. Unlink log file on exit.
2007-11-27ConnectTimeout requires OpenSSH 3.7 or laterYang Tse
2007-11-27Explicitly disallow remote hosts to connect to local forwarded ports,Yang Tse
the socks server port in the test suite. This is the default setting unless a tinkered built ssh is being used.
2007-11-26Temporary change to better debug startup failuresYang Tse
of test suite ssh and socks servers.
2007-11-20Don't gather additional debug info unless sshd actually failsYang Tse
2007-11-20Improve detection of sshd un/supported options.Yang Tse
Gather additional debug info when the test suite ssh server fails to start.
2007-11-19This is a temporary change to test if OpenSSH 3.6 and SunSSH 1.1Yang Tse
are good/compatible enough to run the test suite ssh server and socks tests
2007-11-19Temporary change to help debugging string(s) returned by sshd -VYang Tse
when sshd is not being identified as an OpenSSH daemon