Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to mount a remote directory using ssh to be available same as if it is a local directory?

share|improve this question

marked as duplicate by falconer, Eric Carvalho, karel, Avinash Raj, Florian Diesch Jan 31 at 11:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 11 down vote accepted

I get the answer. I'm going to state it to help others when need:

First install the module:

sudo apt-get install sshfs

Load it to kernel

sudo modprobe fuse

Setting permissions

sudo adduser maythux fuse

sudo chown root:fuse /dev/fuse

sudo chmod +x /dev/fusermount

Now we’ll create a directory to mount the remote folder in.

I chose to create it in my home directory and call it remoteDir.

mkdir ~/remoteDir

Now I ran the command to mount it(mount on home).

sshfs maythux@192.168.xx.xx:/home/maythuxServ/Mounted ~/remoteDir

Now it should be mounted

cd ~/Mounted
ls -l 


share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.