Package:Sshfs-fuse

From Funtoo
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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