Skip to content

Update libssh2_sftp.h - #26

Closed
Zenju wants to merge 1 commit into
libssh2:masterfrom
Zenju:patch-1
Closed

Zenju wants to merge 1 commit into
libssh2:masterfrom
Zenju:patch-1

Conversation

@Zenju

@Zenju Zenju commented Jun 16, 2015

Copy link
Copy Markdown
Contributor

Second try ... (I'll see if I can delete the first pull request)

@bagder

bagder commented Jun 16, 2015

Copy link
Copy Markdown
Member

Thanks but...

1 - heaps of unrelated white spaces edits - we don't want those
2 - please do a proper commit message describing the actual change

@bagder

bagder commented Aug 6, 2015

Copy link
Copy Markdown
Member

No response

@bagder bagder closed this Aug 6, 2015
vszakats added a commit to vszakats/libssh2 that referenced this pull request Jul 2, 2026
To avoid:
```
test 26
      Start 26: test_sshd

26: Test command: /usr/bin/sh "-c" "/home/runner/work/libssh2/libssh2/tests/test_sshd.test  /home/runner/work/libssh2/libssh2/bld/tests/test_ssh2 /home/runner/work/libssh2/libssh2/bld/tests/test_auth_pubkey_ok_ed25519"
26: Working Directory: /home/runner/work/libssh2/libssh2/bld/tests
26: Environment variables:
26:  srcdir=/home/runner/work/libssh2/libssh2/tests
26:  SSHD=/usr/sbin/sshd
26: Test timeout computed to be: 10000000
26: # sshd executable: '/usr/sbin/sshd' (OpenSSH_10.2p1 Ubuntu)
26: # sshd log: '/tmp/tmp.FhzoiD6eOR'
26: # ssh executable: '/usr/bin/ssh' (OpenSSH_10.2p1 Ubuntu-2ubuntu3.2, OpenSSL 3.5.5 27 Jan 2026)
26: # ssh log: '/tmp/tmp.1dpXSksRzx'
26: 1..2
26: Failure establishing SSH session: -5
26: Fingerprint: /home/runner/work/libssh2/libssh2/tests/test_sshd.test: line 151:  8233 Segmentation fault         (core dumped) ${LIBSSH2_TEST_EXE_RUNNER:-} "${test}"
26: not ok 1 - sshd-test_ssh2
26: libssh2_session_handshake failed (-5): Unable to exchange encryption keys
26: Trace all enabled for connect_to_server.
26: not ok 2 - sshd-test_auth_pubkey_ok_ed25519
26/44 Test libssh2#26: test_sshd .................................***Failed    0.25 sec
1..2
Failure establishing SSH session: -5
Fingerprint: /home/runner/work/libssh2/libssh2/tests/test_sshd.test: line 151:  8233 Segmentation fault         (core dumped) ${LIBSSH2_TEST_EXE_RUNNER:-} "${test}"
not ok 1 - sshd-test_ssh2
libssh2_session_handshake failed (-5): Unable to exchange encryption keys
Trace all enabled for connect_to_server.
not ok 2 - sshd-test_auth_pubkey_ok_ed25519
```
Ref: https://github.com/libssh2/libssh2/actions/runs/28582866680/job/84747161004?pr=2174#step:25:469
vszakats added a commit to vszakats/libssh2 that referenced this pull request Jul 2, 2026
To avoid:
```
test 26
      Start 26: test_sshd

26: Test command: /usr/bin/sh "-c" "/home/runner/work/libssh2/libssh2/tests/test_sshd.test  /home/runner/work/libssh2/libssh2/bld/tests/test_ssh2 /home/runner/work/libssh2/libssh2/bld/tests/test_auth_pubkey_ok_ed25519"
26: Working Directory: /home/runner/work/libssh2/libssh2/bld/tests
26: Environment variables:
26:  srcdir=/home/runner/work/libssh2/libssh2/tests
26:  SSHD=/usr/sbin/sshd
26: Test timeout computed to be: 10000000
26: # sshd executable: '/usr/sbin/sshd' (OpenSSH_10.2p1 Ubuntu)
26: # sshd log: '/tmp/tmp.FhzoiD6eOR'
26: # ssh executable: '/usr/bin/ssh' (OpenSSH_10.2p1 Ubuntu-2ubuntu3.2, OpenSSL 3.5.5 27 Jan 2026)
26: # ssh log: '/tmp/tmp.1dpXSksRzx'
26: 1..2
26: Failure establishing SSH session: -5
26: Fingerprint: /home/runner/work/libssh2/libssh2/tests/test_sshd.test: line 151:  8233 Segmentation fault         (core dumped) ${LIBSSH2_TEST_EXE_RUNNER:-} "${test}"
26: not ok 1 - sshd-test_ssh2
26: libssh2_session_handshake failed (-5): Unable to exchange encryption keys
26: Trace all enabled for connect_to_server.
26: not ok 2 - sshd-test_auth_pubkey_ok_ed25519
26/44 Test libssh2#26: test_sshd .................................***Failed    0.25 sec
1..2
Failure establishing SSH session: -5
Fingerprint: /home/runner/work/libssh2/libssh2/tests/test_sshd.test: line 151:  8233 Segmentation fault         (core dumped) ${LIBSSH2_TEST_EXE_RUNNER:-} "${test}"
not ok 1 - sshd-test_ssh2
libssh2_session_handshake failed (-5): Unable to exchange encryption keys
Trace all enabled for connect_to_server.
not ok 2 - sshd-test_auth_pubkey_ok_ed25519
```
Ref: https://github.com/libssh2/libssh2/actions/runs/28582866680/job/84747161004?pr=2174#step:25:469
vszakats added a commit that referenced this pull request Jul 2, 2026
Use the last known good test container build, with debian:bookworm, for
Libgcrypt tests.

Also:
- disable running non-containerized sshd tests in the clang-tidy job,
  because it uses the latest Ubuntu (26.04) which, as debian-trixie,
  comes with a modern OpenSSH server that's incompatible with libssh2's
  Libgcrypt backend:
  ```
  26: [libssh2] 0.055233 Failure Event: -5 - Unable to exchange encryption keys
  26: libssh2_session_handshake failed (-5): Unable to exchange encryption keys
  26: not ok 2 - sshd-test_auth_pubkey_ok_ed25519
  26/44 Test #26: test_sshd .................................***Failed    0.58 sec
  # sshd executable: '/usr/sbin/sshd' (OpenSSH_10.2p1 Ubuntu)
  # sshd log: '/tmp/tmp.QdEw2bfbFE'
  # ssh executable: '/usr/bin/ssh' (OpenSSH_10.2p1 Ubuntu-2ubuntu3.2, OpenSSL 3.5.5 27 Jan 2026)
  # ssh log: '/tmp/tmp.TDLIzPY6zV'
  1..2
  ```
  Ref: https://github.com/libssh2/libssh2/actions/runs/28610019322/job/84839842924?pr=2174#step:25:18669
- run Libgcrypt jobs on ubuntu-24.04 (was: ubuntu-latest) to ensure it
  continues working after ubuntu-latest is bumped.

Ref: https://github.com/libssh2/libssh2/pkgs/container/ci_tests_openssh_server/409796170?tag=98199e448a94451491c4
Ref: #2049
Follow-up to 51f6259 #1720

Closes #2174
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants