-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protocol 'sftp' not supported by curl #452
Comments
Is there any more information you can provide with this issue? Curl is able to use the sftp protocol. If you are on a mac with homebrew there is a flag to compile curl with Although I am using the curl installed with OSX which says that it doesn't have support for sftp but this has not been a problem for me. What are you having trouble with ?
|
I am on linux how can I compile with --with-libssh2 I tried with |
Yes, hmmmm. I am not an expert with Linux I am afraid. I have mostly used Arch which has always had the latest packages with the most flexibility. In theory it is as you say. Download the source for libssh2 and compile, download the source for curl and compile with the flag But as I say, I don't use curl with sftp support so maybe you don't need it either ? What are you trying to do that's not working as expected ? |
The problem is that Ubuntu ships a version of curl that doesn't support SFTP. bug report. The only solution I could find, like you, is to compile it yourself. There are a few more tutorials: |
I was able to use a self generated certificate like so:
I had to upload the certificate files The problem I'm facing now is that git-ftp doesn't recognize |
@bedus-creation Have you solved the problem? |
By default, the To have the Here is the Gist link for help someone to recompile All of files are tested well on This Gist link includes following files:
BTW, the To verify curl -V | grep sftp And the expected output will be: Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp Enjoy it :)! |
If you're using Git FTP to deploy an app using pipeline via SFTP, switching image from Ubuntu to Debian worked for me. P.S.: $FTP_HOST = "sftp://127.0.0.1/var/www/html" |
No description provided.
The text was updated successfully, but these errors were encountered: