Total Pageviews

Friday 28 December 2012

Mounting A Remote Filesystem Via SSH



I would use this rather than stupid NFS!

# Option 1
apt-get install shfs-source shfs-utils
module-assistant prepare
module-assistant build shfs # it has a progress bar to build! how sophisticated!
module-assistant install shfs
shfsmount tmtong@panther.cs.ucla.edu ./panther # wow this is so cool!

# Option 2
apt-get install sshfs
mknod -m 666 /dev/fuse c 10 229
chmod 4755 /usr/bin/fusermount
chmod o+rw /dev/fuse
sshfs tmtong@panther.cs.ucla.edu: ./panther