View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Mounting remote folders using sshfs

From LQWiki

Jump to: navigation, search

Mounting Remote Folders Using sshfs


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


1.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


Personal tools