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

Comments

Projects
None yet
2 participants
@Karlson2k
Contributor

Karlson2k commented Feb 22, 2016

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

This comment has been minimized.

Show comment
Hide comment
@kdudka

kdudka Feb 22, 2016

Collaborator

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.

Collaborator

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

This comment has been minimized.

Show comment
Hide comment
@kdudka

kdudka Feb 22, 2016

Collaborator

The fix could be as easy as this:

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

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

This comment has been minimized.

Show comment
Hide comment
@Karlson2k

Karlson2k Feb 22, 2016

Contributor

@kdudka Thanks!

Contributor

Karlson2k commented Feb 22, 2016

@kdudka Thanks!

@kdudka kdudka self-assigned this Feb 23, 2016

@kdudka kdudka closed this 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.