![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Just Give Me the Beans!
![]() Join Date: Jul 2006
Location: Montréal, Québec, Canada
Beans: 56
Ubuntu 6.06
|
HOWTO: sshfs (mounting remote directories trough ssh)
sshfs is a good way to easily mount folders from a remote host that you can access trough ssh. This tutorial assumes that you have openssh installed on the server. (Easy way: sudo apt-get install openssh-server)
On the client you will have to install sshfs and its dependencies (fuse-utils and libfuse2) Code:
sudo apt-get install sshfs Code:
sudo modprobe fuse Code:
mkdir /home/user/local/mountpoint You are now ready to mount the share : Code:
sudo sshfs username@IPorHOSTNAME:/remote/folder/to/mount /home/user/local/mountpoint Ex: sshfs bobbrown@bobserver.net:/home/bob /mnt/bobshome If you get an error saying : Quote:
Code:
sudo addgroup yourusername fuse These steps are not required to make sshfs work but are recommended if you plan on using sshfs alot and will save you some time. Add the fuse module to /etc/modules Code:
sudo gedit /etc/modules Change permissions of fusermount Code:
sudo chmod +x /usr/bin/fusermount There is also the possibility to mount the share when you boot using /etc/fstab but I'm not sure how to do it yet.
__________________
Registered Ubuntu user #8233 |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|