Network FileSystem using SSHfs

isnt it neat having one PC with its mounts are scattered among multiple PCs's harddisks in the network?? ... lots of stuff can be done using it coz all of the files work virtually as if it is in the same pc ...(i leave this for y'all to think what u can do with it coz i'm not good in giving ideas :P ) ....

traditional method of mounting a network filesystem is by using the famous NFS exports .... however ... configuring NFS to work might be quite hard for newbies ... and it became harder if you want to ensure the security of ur system ....

a few weeks ago .. i discovered that there is a program that can make the SFTP capability of SSH to be mounted as a local filesystem .... it gives the flexibility if NFS ... ease of use -- as easy as logging into SSH ... and the transactions are encrypted ... neato ..... the program is developed under FUSE ... so .. u'll need to have a FUSE capable kernel for it .... AFAIK ... kernel 2.6.14 above have FUSE included in it .... FC4 users juz need to update the kernel to the latest ... its compiled together in the RPM of the latest kernels ....

then u'll need to get the FUSE-SSHfs package from ... compile and install it ... good news to FC4 users ... FUSE-SSHfs RPM package is available in Fedora Extras ... hehe...

after a successfull installation .... u'll need to be root in order to mount the filesystem ...

mounting :

# sshfs /mountpoint/path
// then enter ur login passwd


# fusermount -u /mountpoint/path

by default ... only root can read/write to the mounted path ... if u need to have other users to use it ... use this command

# sshfs -o default_permissions,allow_other /mountpoint/path
// then enter ur login passwd

now u got a folder on another pc on the network mounted on /mountpoint/path of ur local filesystem .... enjoy!!


Popular posts from this blog

Announcing PlatoCDP, a Plone distribution for enterprises.

Adding simple popup to Plone frontpage

An Open Letter for the Rector of PETRONAS University of Technology