SFTP over double server hop

Posted by josh.trow on Super User See other posts from Super User or by josh.trow
Published on 2011-06-28T15:38:28Z Indexed on 2011/06/28 16:24 UTC
Read the original article Hit count: 222

Filed under:
|

I'm trying to work out a method to allow me to access files on an SFTP server than I cannot access from my local machine. Currently, I have to SSH to a remote server (it is in a certain IP block that the final SFTP server will accept from), then from there SFTP to the destination server. From there, I get the files I am interested in, thereby dropping them onto the middleman server, from which I can get the files either over a Samba share or with a direct scp. I also work in the reverse, where I drop the files onto the middleman, SSH to it then SFTP to the destination and put them into the appropriate folders.

My goal is to shorten this. The unfortunate restrictions are that my machine is Windows (I use KiTTy and/or Cygwin) and I cannot modify the middleman server (or destination server) in any way. I am willing to use command line or GUI programs so long as it works and is free.

Any ideas?

© Super User or respective owner

Related posts about ssh

Related posts about sftp