Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testsuite tests with SSH server were skipped with OpenSSH 7.1p2 #676

Closed
Karlson2k opened this issue Feb 22, 2016 · 3 comments
Closed

Testsuite tests with SSH server were skipped with OpenSSH 7.1p2 #676

Karlson2k opened this issue Feb 22, 2016 · 3 comments
Assignees

Comments

@Karlson2k
Copy link
Contributor

Step to reproduce:

  1. Make sure that OpenSSH (client and daemon) 7.0 or later is installed
  2. Build libcurl for git sources with configure and make
  3. Run make test-full.
  4. Notice string in final results TESTINFO: "failed starting SSH server" 56 times (564, 582, 583, 600, 601, 602, 603, 604, 605 and 47 more)

From ssh_server.log:

Connection from 127.0.0.1 port 49934 on 127.0.0.1 port 8999
debug1: Client protocol version 2.0; client software version OpenSSH_7.1p2 Debian-2
debug1: match: OpenSSH_7.1p2 Debian-2 pat OpenSSH* compat 0x04000000
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.1p2 Debian-2
debug2: fd 3 setting O_NONBLOCK
debug1: list_hostkey_types: 
No supported key exchange algorithms
debug1: do_cleanup

This is from Debian Testing machine. Same problem on Win64/Msys2.
Suspect that reason can be that OpenSSH disabled DSA since version 7.0.

Possibly related PR #675

@kdudka
Copy link
Contributor

kdudka commented Feb 22, 2016

This is a workaround for the problem I have installed for Fedora builds:

http://pkgs.fedoraproject.org/cgit/rpms/curl.git/commit/?id=e57a7415

I believe we can solve it this way in upstream curl, too.

@kdudka
Copy link
Contributor

kdudka commented Feb 22, 2016

The fix could be as easy as this:

sed -e 's/ds[as]/rsa/g' -i tests/ssh{help.pm,server.pl}

@Karlson2k
Copy link
Contributor Author

@kdudka Thanks!

@kdudka kdudka self-assigned this Feb 23, 2016
@kdudka kdudka closed this as completed in effa575 Feb 23, 2016
@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants