Last active
February 24, 2017 16:43
-
-
Save eric1234/7814617 to your computer and use it in GitHub Desktop.
Install git-ftp on Ubuntu with sftp support and git ftp fetch support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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` | |
cd /usr/local/src | |
git clone -b feature/lftp https://github.com/drench/git-ftp.git | |
cd git-ftp | |
make install | |
apt-get install -y lftp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment