Home Blog CV Projects Patterns Notes Book Colophon Search

SSHFS

29 May, 2007

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

Copyright James Gardner 1996-2020 All Rights Reserved. Admin.