BwFileStorage SSHFS

From Lsdf
Revision as of 22:17, 28 March 2015 by Obholz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using SSHFS for UNIX Client




>tar –xzvf fuse-2.9.3.tar.gz
>cd fuse-2.9.3
>yum install spice-glib-devel.x86_64
>./configure --prefix=/usr/local
make install (as root)

>echo /usr/local/lib > /etc/

>tar -xzvf sshfs-fuse-2.5.tar.gz
>cd sshfs-fuse-2.5
>./configure --prefix=/usr/local
>make install

Mount a Share over SSHFS

Mount over command line

>mkdir mointpoint
>sshfs ./mountpoint's password:

for example:

>mkdir sshfs
>sshfs ./sshfs's password:

Mount over /etc/fstab

(as root)

>mkdir /mnt/mountpoint
>cat .ssh/ >> /pfad_to_local_user_home/.ssh/authorized_keys

/etc/fstab   /mnt/mountpoint fuse uid=xxxx,gid=yyyy,umask=0,allow_other,defaults,auto 0 0

>mount /mnt/mountpoint

prefix   : fileset name per organization; prefix for login name and group name 

for example:

>mkdir /mnt/mountpoint

/etc/fstab   /mnt/mountpoint fuse  uid=7777,gid=12345,umask=0,allow_other,defaults,auto 0 0

>mount /mnt/mountpoint