EnderUNIX Team.

EnderUNIX tips

Mail to My Friend , Home Page

[ FreeBSD ]

"Mounting SSH File Systems on FreeBBSD" - Ömer Faruk Şen - (2005-11-25 14:41:59)   [7327]

To mount a remote SSH File system to your home directory on FreeBSD do:

# cd /usr/ports/sysutils/fusefs-sshfs
# make install clean

Add fusefs_enable="YES" line to /etc/rc.conf

# /usr/local/etc/rc.d/fuse.sh start (loads required kernel module)

# sysctl vfs.usermount=1 (thus users can mount too)

% sshfs -o localuser -g localgroup remoteuser@REMOTE_SYSTEM: ( beware of trailing ":" sign)

% mount_fusefs /dev/fuse0 ~localuser/sshfs

NOTE: FUSE is developed as a part of FreeBSD Google Summer of Code. For more information visit
http://fuse4bsd.creo.hu/ and don't forget to show your appreciation to Csaba Henk and Anish Mistry who have made this possible.

Mail to My Friend , Home Page