Remote Filesystem in Unix (SSHFS)
Posted: Tue Oct 06, 2009 3:25 pm
sshfs is a program with which one can open(or edit) a remote filesystem in unix( i think it also can work under fat and ntfs). It’s extremely important in cases where vnc is not possible, since only console is available.
The installation process is very simple and nothing to describe anything more here. For more information check:
http://fuse.sourceforge.net/sshfs.html
sshfs creates a group under the name fuse. In order to be able to run an executable as a user, this user should have to be
inside that group, have permissions over the newly mounted file and have execute access at /usr/bin/fusermount and /etc/fuse.conf. These things happen after issuing the commands below:
If you like you can also add a line at /etc/fstab :
(maybe noauto is better for you)
And then you can finally mount the filesystem :
In case /dev/fuse module cannot be found, load it with :
The installation process is very simple and nothing to describe anything more here. For more information check:
http://fuse.sourceforge.net/sshfs.html
sshfs creates a group under the name fuse. In order to be able to run an executable as a user, this user should have to be
inside that group, have permissions over the newly mounted file and have execute access at /usr/bin/fusermount and /etc/fuse.conf. These things happen after issuing the commands below:
Code: Select all
adduser ForTheWin fuse
mkdir mountDir
chown ForTheWin:fuse mountDir
chown ForTheWin:fuse /dev/fuse
chmod +x /usr/bin/fusermount
chmod +x /etc/fuse.conf
Code: Select all
sshfs#[email protected]:/starting/path fuse user,allow_other 0 0
And then you can finally mount the filesystem :
Code: Select all
sshfs name@remoteHost:remoteFilePath localMountPoint
Code: Select all
modprobe /dev/fuse