Subject: [ libssh2-Bugs-2849880 ] remote host startup banner breaks sftp/scp

[ libssh2-Bugs-2849880 ] remote host startup banner breaks sftp/scp

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 03 Sep 2009 11:52:30 +0000

Bugs item #2849880, was opened at 2009-09-03 11:52
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2849880&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SFTP
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: remote host startup banner breaks sftp/scp

Initial Comment:
I use JSCAPE FTP server, if a startup banner is defined for sftp, it seems to break the sftp/scp connection (the libssh2 library is used by the cURL application):
Enter host password for user 'xxxxx':
* About to connect() to 8.12.42.168 port 22 (#0)
* Trying 8.12.42.168... connected
* Connected to 8.12.42.168 (8.12.42.168) port 22 (#0)
* Failure establishing ssh session
* Closing connection #0

When removing the startup banner and trying again:
* About to connect() to 8.12.42.168 port 22 (#0)
* Trying 8.12.42.168... connected
* Connected to 8.12.42.168 (8.12.42.168) port 22 (#0)
* SSH authentication methods available: password,publickey
* Using ssh public key file /var/home/xxxxx/.ssh/id_dsa.pub
* Using ssh private key file /var/home/xxxxx/.ssh/id_dsa
* SSH public key authentication failed: Unable to open public key file
* Initialized password authentication
* Authentication complete
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connection #0 to host 8.12.42.168 left intact

* Closing connection #0

There is no issue when using the AUTHENTICATION banner (not STARTUP banner)

Or might this be a Cipher that the Jscape application is not uses? Or a cURL problem?

Thanks

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2849880&group_id=125852
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-09-03