Bugs item #2849880, was opened at 2009-09-03 11:52
Message generated for change (Comment added) 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: Daniel Stenberg (bagder)
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

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

Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-04 07:10

Message:
unfortunately I have only internal systems with jscape ftp server, I have
asked jscape if they can set up a startup banner on their demo site to test
this - still waiting for a reply. thanks

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

Comment By: Daniel Stenberg (bagder)
Date: 2009-09-03 20:36

Message:
Any chance this server or another one showing this problem is publicly
accessible?

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

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

Reply via email to