ssh tunnel - Mount a filesystem (using FUSE) with SSH through two computers

08
2013-08
  • Vortico

    Possible Duplicate:
    How to mount remote SSHFS via intermediate machine? Tunneling?

    I can mount a filesystem over SSH directly with

    $ sshfs hostname: mountpoint
    

    However, in order to access a certain machine from an outside network, I must SSH through a chain of two computers.

    localhost $ ssh hostname1
    ...
    hostname1 $ ssh hostname2
    

    Is there a way to mount a virtual filesystem with FUSE/SSHFS on my local machine to access a directory on hostname2?

  • Answers
  • dabest1

    You would set up SSH Tunnel and then you would mount the filesystem. I think your questions is a duplicate of How to mount remote SSHFS via intermediate machine? Tunneling?


  • Related Question

    Mount network drives over ssh on Windows
  • petersohn

    Possible Duplicate:
    sshfs equivalent for windows?

    There is a remote filesystem I can reach through ssh. On Linux, there are several ways of dealing with it. I like sshfs, because with it I can work with the remote files the same way as with my local files.

    Is there any similar to Windows, that can map a network drive through ssh? The best I can use is WinSCP, which is good, but not good enough.


  • Related Answers
  • grawity

    For SSH there is Dokan SSHFS.

    You could also use WebDAV (which is supported natively by Windows), but it isn't that easy to configure.