Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I get sftp working?

KINKWILDE September 24, 2019

* Protocol "sftp" not supported or disabled in libcurl

* Closing connection -1

curl: (1) Protocol "sftp" not supported or disabled in libcurl

 

How do I get sftp working for use with git-ftp?

 

This is my setup

script:
- apt-get update
- apt-get -qq install git-ftp
- git submodule update --init --recursive
- rm -rf node_modules
- git config git-ftp.url server
- git config git-ftp.user username
- git config git-ftp.password password
- git config git-ftp.remote-root htdocs
- git config git-ftp.insecure 1
- git ftp init -vv
- git ftp push

1 answer

0 votes
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2019

@KINKWILDE , there seems to be a known issue with git-ftp. This post describes the problem quite well http://andrewberls.com/blog/post/adding-sftp-support-to-curl. Alternatively, you can use the ftp-deploy or sftp-deploy pipes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events