James Gardner: Home > Blog > 2007 > SSHFS

SSHFS

Posted:2007-05-29 10:33
Tags:Debian

If you are using Xen to host a development server on your workstation one of the problems is that it can be tricky to edit the files in your usual desktop environment. If you have Debian Etch and a stock kernel you can use the SSH filesystem to mount the Xen server's hard disk as a directory on your computer so that you can edit the files directly. This approach actually works really well.

sudo apt-get install sshfs

To mount the drive:

sudo modprobe fuse
cd ~/Desktop
sudo sshfs -o allow_other root@rms.dev:/ rms.dev

and to unmount:

cd ~/Desktop
sudo umount rms.dev

(view source)

James Gardner: Home > Blog > 2007 > SSHFS