To generate a curl with ssh support on Ubuntu 9.04:
sudo apt-get install build-essential debhelper libssh2-1-dev sudo apt-get source libcurl3 sudo apt-get build-dep libcurl3
cd curl-7.18.2/debian
gedit rules
find and replace "--without-libssh2" with "--with-libssh2"
cd ..
sudo dpkg-buildpackage
sudo dpkg -i curl_7.18.2-8ubuntu4.1_amd64.deb sudo dpkg -i libcurl3_7.18.2-8ubuntu4.1_amd64.deb sudo dpkg -i libcurl3-gnutls_7.18.2-8ubuntu4.1_amd64.deb
To generate a curl with ssh support on Ubuntu 9.04:
sudo apt-get install build-essential debhelper libssh2-1-dev
sudo apt-get source libcurl3
sudo apt-get build-dep libcurl3
cd curl-7.18.2/debian
gedit rules
find and replace "--without-libssh2" with "--with-libssh2"
cd ..
sudo dpkg-buildpackage
cd ..
sudo dpkg -i curl_7. 18.2-8ubuntu4. 1_amd64. deb 7.18.2- 8ubuntu4. 1_amd64. deb gnutls_ 7.18.2- 8ubuntu4. 1_amd64. deb
sudo dpkg -i libcurl3_
sudo dpkg -i libcurl3-