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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I get sftp working? Edited

* 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

@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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,886 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you