Opened 12 years ago

Last modified 3 years ago

#34383 new defect

curl @7.25.0 SFTP fails with "Failure establishing ssh session" (2)

Reported by: RonnieRocket147 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: cooljeanius (Eric Gallager)
Port: curl

Description

Curl is unable to setup an SFTP connection to all SFTP servers I tried so far. Running curl in verbose mode gives:

[MacBook~]$ curl --verbose --list-only sftp://127.0.0.1/
* About to connect() to 127.0.0.1 port 22 (#0)
*   Trying 127.0.0.1...
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 22 (#0)
* Failure establishing ssh session
* Closing connection #0
curl: (2) Failure establishing ssh session

HTTPS connections are working fine. I have Googled for days but haven't found an answer as to why this is happening. Only one person suggested it might be related to libssh2. I tried uninstalling both curl and libssh2, clean and reinstall several times but to no affect.

Any ideas as to how I can find out what is happening here?

Many thanks.

Change History (4)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Sorry, no, I don't have any ideas about that. I recommend you contact the developers of curl.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Keywords: curl sftp libssh2 removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:3 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Is this still a problem with the current version?

Note: See TracTickets for help on using tickets.