summaryrefslogtreecommitdiff
path: root/tests/sshserver.pl
Commit message (Collapse)AuthorAgeFilesLines
* spelling fixesklemens2017-03-261-1/+1
| | | | Closes #1356
* tests: Use 'pathhelp' for paths conversions in sshserver.plKarlson2k2016-04-291-8/+9
|
* sshserver.pl: use quotes for given optionsKarlson2k2016-03-261-1/+1
| | | | | | 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.
* Revert "sshserver: remove use of AuthorizedKeysFile2"Daniel Stenberg2016-03-221-1/+3
| | | | | | | 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.
* sshserver: remove use of AuthorizedKeysFile2Daniel Stenberg2016-03-211-3/+1
| | | | | | | Support for the (undocumented) AuthorizedKeysFile2 was removed in OpenSSH 5.9, released in September 2011 Closes #715
* tests/sshserver.pl: use RSA instead of DSA for host authKamil Dudka2016-02-231-6/+6
| | | | | | | | | | 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
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* sshserver.pl: clarify and streamline variable namesMarc Hoersken2014-12-221-6/+7
|
* tests: use Cygwin-style paths in SSH, SSHD and SFTP config filesMarc Hoersken2014-12-211-7/+37
| | | | | | 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.
* tests: support spaces in paths to SSH, SSHD and SFTP binariesMarc Hoersken2014-12-211-11/+11
| | | | First patch to enable Windows support using Cygwin-based OpenSSH.
* sshserver: disable StrictHostKeyCheckingDaniel Stenberg2013-04-251-2/+5
| | | | | | | | 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.
* test harness: fix detection of test harness client knownhosts fileYang Tse2011-08-311-2/+3
| | | | | Regenerate curl's tests client knownhosts file also when, somehow, this file is empty.
* test harness: fix detection of test harness host and client key filesYang Tse2011-08-311-2/+4
| | | | | Regenerate curl's tests host and client key files also when, somehow, any of these files are empty.
* restore executable bits on some filesDaniel Stenberg2010-03-241-0/+0
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Start using the centralized pidfile and logfile name generationYang Tse2010-01-151-29/+90
| | | | subroutines for ssh and socks test suite servers.
* SunSSH sshd ignores UsePrivilegeSeparation optionYang Tse2008-04-041-5/+4
|
* SunSSH 1.2 options syncYang Tse2008-04-041-1/+17
|
* Additional SunSSH 1.1 ssh server optionsYang Tse2008-02-111-0/+16
|
* Get rid of sftp subsystem additional parameters, they aren't widely supportedYang Tse2008-02-081-1/+1
|
* To verify that the sftp server is actually running, responsive and thatYang Tse2008-02-081-3/+64
| | | | | | | | | | 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.
* When possible, use additional config options for test harness ssh server,Yang Tse2008-01-311-2/+20
| | | | which are deprecated in recent OpenSSH versions but are current for SunSSH.
* Dont rely on PAMAuthenticationViaKbdInt default being 'no'Yang Tse2008-01-271-0/+4
|
* Also disable GSSAPIAuthentication for the test harness ssh clientYang Tse2008-01-201-2/+13
|
* Remove hardcoded verbosityYang Tse2008-01-121-3/+3
|
* Temporary change to help debugging SSH server verification failuresYang Tse2008-01-101-1/+1
|
* Remove increased loglevel intended to debug autobuild's publickeyYang Tse2008-01-081-10/+2
| | | | | | | | | 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.
* Increase loglevel to debug autobuild's publickey authenticationYang Tse2008-01-081-0/+10
| | | | failures when using OpenSSH 2.9.9 or SunSSH
* Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictiveYang Tse2008-01-061-2/+2
|
* 'ControlPath' ssh client configuration file option requires OpenSSH 4.2 orYang Tse2008-01-041-0/+3
| | | | later to accept 'none' as an indication to disable connection multiplexing
* SunSSH 1.1 ssh client does not support config file options:Yang Tse2008-01-041-5/+5
| | | | | | | | | ConnectTimeout ForwardX11Trusted HashKnownHosts RekeyLimit ServerAliveCountMax ServerAliveInterval
* 'LocalCommand' no longer used for ssh client config file. When used itYang Tse2008-01-041-5/+1
| | | | requires a non blank argument.
* Modify test harness so that the minimum SSH version required to runYang Tse2008-01-031-285/+797
| | | | | | 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
* Use getcwd() to get the directory, which works even if one of the directoryDan Fandrich2007-12-221-2/+2
| | | | components doesn't have read permission set.
* To allow remote log inspection avoid redirecting messages to stderr.Yang Tse2007-11-281-32/+20
| | | | Cleanup some debugging messages. Unlink log file on exit.
* ConnectTimeout requires OpenSSH 3.7 or laterYang Tse2007-11-271-39/+55
|
* Explicitly disallow remote hosts to connect to local forwarded ports,Yang Tse2007-11-271-0/+1
| | | | | the socks server port in the test suite. This is the default setting unless a tinkered built ssh is being used.
* Temporary change to better debug startup failuresYang Tse2007-11-261-0/+12
| | | | of test suite ssh and socks servers.
* Don't gather additional debug info unless sshd actually failsYang Tse2007-11-201-7/+14
|
* Improve detection of sshd un/supported options.Yang Tse2007-11-201-2/+25
| | | | Gather additional debug info when the test suite ssh server fails to start.
* This is a temporary change to test if OpenSSH 3.6 and SunSSH 1.1Yang Tse2007-11-191-10/+24
| | | | | are good/compatible enough to run the test suite ssh server and socks tests
* Temporary change to help debugging string(s) returned by sshd -VYang Tse2007-11-191-0/+2
| | | | when sshd is not being identified as an OpenSSH daemon
* Add /opt/ssh/sbin and /opt/ssh/libexec to the sshd locations search list.Yang Tse2007-11-181-4/+5
| | | | Improve wording of a couple of debug messages.
* When unable to start test suite sshserver, log if OpenSSH has not beenYang Tse2007-11-171-1/+8
| | | | found or the OpenSSH version found
* Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search listYang Tse2007-11-171-1/+17
|
* Allow setting the IP address on which to listen for connections.Dan Fandrich2007-09-171-2/+7
|
* Revert the 512 change since newer versions of OpenSSH don't support DSADan Fandrich2007-07-191-2/+2
| | | | keys that small.
* Use 512 bit keys to reduce the time taken to generate them. This shouldn'tDan Fandrich2007-07-181-2/+2
| | | | | | really reduce security since in the common case of a daily automated build the keys are only used for a single test run lasting a few minutes before being deleted.
* Tom Regner added /usr/lib/misc to the path to scan for sftp to make theDaniel Stenberg2007-06-141-1/+1
| | | | sftp tests run fine on gentoo
* We do not use RSA keys in the test suite.Dan Fandrich2007-06-111-8/+3
|