Skip to content

Instantly share code, notes, and snippets.

View novalore's full-sized avatar

Lorenzo Novaro novalore

View GitHub Profile
@eric1234
eric1234 / install_git_ftp.sh
Last active February 24, 2017 16:43
Install git-ftp on Ubuntu with sftp support and git ftp fetch support
# Rebuild curl with sftp support
apt-get install -y build-essential debhelper libssh2-1-dev
apt-get source curl
apt-get build-dep -y curl
cd curl-*
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage
cd ..
dpkg -i curl*.deb libcurl3-nss*.deb libcurl4-doc*.deb libcurl4-openssl*.deb libcurl3_*.deb
# Use "drench" version which support `git ftp fetch`