title: Adding Support for SCP and SFTP for Curl on Linux
body: <p>I've been been desperately trying to add SFTP and SCP support for Curl on my CentOS box. I found something resembling a solution here:</p>
  
  <p><a href="http://andrewberls.com/blog/post/adding-sftp-support-to-curl" rel="nofollow">http://andrewberls.com/blog/post/adding-sftp-support-to-curl</a></p>
  
  <p>I followed these steps but found that when attempting to get a file via both SCP and SFTP, the connection hangs once the file has been found. I cannot fix this and cannot find an alternative solution.</p>
  
  <p>I have to use Curl for a job at work and therefore cannot use another lib. Has anyone managed to successfully add support for SCP and SFTP on Curl? I have a test server setup and other protocols such as FTP work as expected.</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>Thanks in advance,
  Peter</p>