SUPPORT THE SITE WITH A CLICK

Subscribe Rss:

SUPPORT THE SITE WITH A CLICK

Saturday, January 5, 2008

Mount remote folders into local Ubuntu machine using sshfs

Before mounting the files from remote,first check whether ssh server is installed in remote machine.
now 1.Install sshfs from the terminal

sudo apt-get install sshfs

,
2.Load kernel drivers for sshfs

sudo modprobe fuse


* For permanent use add 'fuse' at the end of /etc/modules

3.vi /etc/modules
* Join the 'fuse' user group

4.sudo adduser your_user_name fuse
Now you logout and login into the machine

5.Create local mountpoint in your home directory
mkdir ~/remote

6.Mount the remote folder into ~/remote

7.sshfs 192.168.0.1:/media/music ~/remote

Note:-192.168.0.1 (remote ip) and remote is the local folder where remote folders will be
mounted

No comments :

Post a Comment