Mount remote drive by port forwarding

Posted by Anushka on Super User See other posts from Super User or by Anushka
Published on 2012-12-19T10:39:07Z Indexed on 2012/12/19 11:05 UTC
Read the original article Hit count: 160

Filed under:
|
|
|

I have a windows 7 computer at home and a remote windows XP machine with an external USB drive attached to it. I would like to be able to copy files to and from home/the remote USB drive. The problem is that the only way of contacting the work computer is by first sshing into a different remote linux machine as there is a firewall that prevents direct internet connection.

I can see two possible solutions but I don't know how to do them.

  • Set up winscp using ssh port forwarding via the linux box so that I can copy to and from the two windows machines. I assume that I would need to run an ssh server on the XP machine as well to do this?
  • Mounting the remote USB drive on the remote windows machine from the home XP machine via ssh port forwarding again via the linux box.

Does anyone know how to do either solution?

© Super User or respective owner

Related posts about Windows

Related posts about linux