Thursday, April 22, 2010

sshfs: mounting remote directory to your filesystem

You can work with filesystems at remote machines as if the were parts of your local system. The magic wand is a sshfs command.

$> sshfs -C username@example.com: ~/example

This command mounts username's home directory at example.com host to local directory ~/example. -C option enables compression to save your internet traffic.

Use the following command to unmount remote directory:

$> fusermount -u ~/example

As usual, for more details see

$> man sshfs

No comments:

Post a Comment