Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to setup an sftp tunnel so that I can connect to an IP-secured SFTP server through a gateway computer from anywhere, and download the files to anywhere.

I was thinking of using a combination with netcat, having it listen to either WinSCP or PuTTY sFTP (doesn't matter which). Not sure how I would download the files to the connecting computer though. I would like the tunnel to be secured, preferably, with a username/password.

I'm open to using alternative software but I'm looking for unintrusive, simple command line stuff because I don't want to install a lot on this computer.

Thanks

share|improve this question
    
It would be useful to know what operating systems you are running on both the SFTP and gateway machines. – Lawrence Velázquez Nov 30 '10 at 0:55
    
Windows on both – babonk Nov 30 '10 at 3:05
up vote 0 down vote accepted

Install OpenSSH server and Netcat on the gateway and then it becomes a matter of using ProxyCommand properly.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .