Package:Sshfs-fuse

From Funtoo
Revision as of 23:52, September 29, 2014 by Threesixes (talk | contribs) (initial commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sshfs-fuse

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Server

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

root # rc-service sshd start

Client

Install

Kernel

Under File systems enable FUSE:

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

Emerge

root # emerge sshfs-fuse

Use

as root

create a mountpoint:

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

To unmount:

root # 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:

root # mkdir /mnt/remote

change mount point to be under the user

root # chown user:user /mnt/remote

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

To unmount:

root # fusermount -u /mnt/remote