summaryrefslogtreecommitdiff
path: root/tests/sshhelp.pm
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2016-02-23 10:31:52 +0100
committerKamil Dudka <kdudka@redhat.com>2016-02-23 11:55:18 +0100
commiteffa575fc7f028ee71fda16209d3d81af336b730 (patch)
tree0ce6fb38630c73ac74514a67cb0a4f00c0e7676b /tests/sshhelp.pm
parent186546f1c5ffa62526bd57deb5b9fd6e68da2a5e (diff)
downloadcurl-effa575fc7f028ee71fda16209d3d81af336b730.tar.gz
tests/sshserver.pl: use RSA instead of DSA for host auth
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
Diffstat (limited to 'tests/sshhelp.pm')
-rw-r--r--tests/sshhelp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sshhelp.pm b/tests/sshhelp.pm
index b6294bad7..c5618a109 100644
--- a/tests/sshhelp.pm
+++ b/tests/sshhelp.pm
@@ -120,8 +120,8 @@ $sshlog = undef; # ssh client log file
$sftplog = undef; # sftp client log file
$sftpcmds = 'curl_sftp_cmds'; # sftp client commands batch file
$knownhosts = 'curl_client_knownhosts'; # ssh knownhosts file
-$hstprvkeyf = 'curl_host_dsa_key'; # host private key file
-$hstpubkeyf = 'curl_host_dsa_key.pub'; # host public key file
+$hstprvkeyf = 'curl_host_rsa_key'; # host private key file
+$hstpubkeyf = 'curl_host_rsa_key.pub'; # host public key file
$cliprvkeyf = 'curl_client_key'; # client private key file
$clipubkeyf = 'curl_client_key.pub'; # client public key file