#34383: curl @7.25.0 SFTP fails with "Failure establishing ssh session" (2) ----------------------------------+----------------------------------------- Reporter: marcel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: curl sftp libssh2 | Port: curl ----------------------------------+----------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/34383> MacPorts <http://www.macports.org/> Ports system for Mac OS