Howto shfs

Use
shfs with e-smith/SME

Author:  Van hees Michel <mvanhees@vanhees.homeip.net>

Contributor:Linux loader N20

Release supported: e-smith SME 5.6 & 6.0

License: color=#ff0000>GPL

Last updated:

Saturday, January 31, 2004 08:49 AM

 


Problem:  You want to use SHFS
to mount remote filesytem trough ssh

Solution:
  Follow this HowTo


Resources:
http://shfs.sourceforge.net/ PLEASE READ!


STEP 1: Install the
RPM depending your version:

rpm -ivh e-smith[version]-shfs-0.1-1.i386.rpm

You can find the RPM version 5.6(tested work fine) version 6.0
(tested work fine)

#
rpm -ivh e-smith56-shfs-0.1-1.i386.rpm


OR

# rpm -ivh e-smith60-shfs-0.1-1.i386.rpm

STEP 2: size=2> Mounting remote filesystem

shfsmount [user]@[host]
[localpath]

OR

mount -t shfs [user]@[host] [localpath]

# shfsmount
testuser@127.0.0.1 /mnt/shfs/

OR


# mount
-t shfs testuser@127.0.0.1 /mnt/shfs


STEP 3: Unmounting
remote filesystem


shfsumount [localpath]

umount [localpath]

#
shfsumount /mnt/shfs/

OR

# umount /mnt/shfs

Possible problem:



Check the validity of the ssh key in the file ~/.ssh/known_hosts

If a server was reinstall, remove the entry corresponding to his ip address.

Category: 
Howtos pour E-Smith/SME