BwFileStorage SSHFS

From Lsdf
Revision as of 23:07, 22 February 2015 by Obholz (talk | contribs) (Created page with "<H1>Using SSHFS for UNIX Client</H1> <H2>Installation</H2> '''Downloads:''' <br> '''Example:''' <pre> >wget")
(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 sshfs
>sshfs ./sshfs's password:

Mount over /etc/fstab

Example: (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
# ka  (for example)                : prefix
# ka_xy1234                         : bwfilestorage user
# xxxx/yyyy                          : user uid/gid

>mount /mnt/mountpoint