Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.