Mount remote filesystem via ssh: sshfs

Ubuntu doc

Install sshfs

sudo apt-get install sshfs

Add user to fuse group

sudo adduser troy fuse

Update config

to allow other users to access remotely mounted directory
sudo gedit /etc/fuse.conf
uncomment allow_other

Create mount point:

sudo mkdir /media/troy/test1

Mount

sudo sshfs -o allow_other -o ServerAliveInterval=120 troy@111.222.33.123:/home/troy /media/troy/test1/

UnMount
sudo umount /media/troy/test1/

following did not work


sudo fusermount -u /media/troy/test1


fusermount: entry for /media/troy/test1 not found in /etc/mtab

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout

Locks held on Oracle for hours after sessions abnormally terminated by node failure