#167: Unable to init SFTP session vs SSH-2.0-SSHD
--------------------+-------------------------------------------------------
Reporter: ptjm | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: SFTP | Version: 1.2.5
Keywords: | Blocking:
Blockedby: |
--------------------+-------------------------------------------------------
I found that libssh2 is able to authenticate versus one particular sftp
server, but that it fails to initiate the sftp session.
The attached file sftpfailure.log shows the trace of sftpdir vs a server
which returns the banner "SSH-2.0-SSHD". The trace was run using version
1.2.5-20100317. There were no modifications to the library but sftpdir.c
was modified to use public key authentication and to call
libssh2_trace(session, LIBSSH2_TRACE_TRANS | LIBSSH2_TRACE_KEX |
LIBSSH2_TRACE_AUTH | LIBSSH2_TRACE_CONN | LIBSSH2_TRACE_SFTP |
LIBSSH2_TRACE_ERROR);
The only other thing I can think to add is that the machine I'm connecting
from is rather old & the openssl version is 0.9.7d. I am able to connect
from this machine and perform sftp transfers using openssh, though.
I know nothing about the server machine.
-- Ticket URL: <http://libssh2.stuge.se/ticket/167> libssh2 <http://libssh2.stuge.se/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-03-24