Package:Sshfs-fuse

Revision as of 23:52, September 29, 2014 by Threesixes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

sys-fs/sshfs-fuse


Source Repository:Gentoo Portage Tree
Homepage

Summary: Fuse-filesystem utilizing the sftp service

Sshfs-fuse

Server

Simply run sshd with sftp enabled. These are the default settings under funtoo so there is not much to do.

# rc-service sshd start

Client

Install

Kernel

Under File systems enable FUSE:

File systems  --->
    <M> FUSE (Filesystem in Userspace) support

Emerge

# emerge sshfs-fuse

Use

as root

create a mountpoint:

# mkdir /mnt/remote
# sshfs myuser@ipaddress:/home/myuser/media /mnt/remote

To unmount:

# fusermount -u /mnt/remote

as a user

sshfs requires sshfs ran as a user if a user is to access the content. create a mountpoint:

# mkdir /mnt/remote

change mount point to be under the user

# chown user:user /mnt/remote

<console>$ sshfs myuser@ipaddress:/home/myuser/media /mnt/remote

To unmount:

# fusermount -u /mnt/remote