title: How do I re-create pysftp.Connection with a proxy parameter?
body: <p>I am connecting to an SFTP server using <code>pysftp</code> but need to reconfigure it to go through a proxy. Since pysftp doesn't support it, I'm thinking of using <code>Paramiko</code>.</p>
  
  <p>Looks like I'm utilizing the benefits of pysftp.Connection, since it looks like my code is using recursive file transfers.</p>
  
  <p>What are the steps I would need to do to re-create <code>pysftp.Connection</code> but with the option to use a proxy? Looking through <a href="https://bitbucket.org/dundeemt/pysftp/src/master/pysftp/__init__.py" rel="nofollow noreferrer">the codebase</a> is a little frightening since I'm not sure what to edit...</p>