venerdì 17 dicembre 2010

Setting up SSHFS connections

First, make sure you can ssh to the server

On the local machine (universe must be enabled):
$ sudo aptitude install sshfs
$ sudo chmod +x /bin/fusermount
$ mkdir /home/giuseppe/remote
$ sudo modprobe fuse
the last command loads fuse. In order for this to happen automatically at startup:
$ sudo cp /etc/modules /etc/modules_bak
$ sudo sh -c "echo 'fuse' >> /etc/modules"
Now the actual mounting:
$ sshfs the.remote.machine:/shared/path /home/giuseppe/remote

Nessun commento:

Posta un commento