Difference between pages "Template:P1" and "Package:Sshfs-fuse"
(Difference between pages)
Jump to navigation
Jump to search
m (moved doc to documentation) |
Threesixes (talk | contribs) (initial commit) |
||
Line 1: | Line 1: | ||
{{ | {{Ebuild | ||
|Summary=Fuse-filesystem utilizing the sftp service | |||
|CatPkg=sys-fs/sshfs-fuse | |||
|Maintainer= | |||
|Homepage=http://fuse.sourceforge.net/sshfs.html | |||
}} | |||
== Server == | |||
Simply run sshd with sftp enabled. These are the default settings under funtoo so there is not much to do. | |||
<console>###i## rc-service sshd start</console> | |||
== Client == | |||
=== Install === | |||
==== Kernel ==== | |||
{{kernelop|title=File systems enable FUSE|desc= | |||
File systems ---> | |||
<M> FUSE (Filesystem in Userspace) support | |||
}} | |||
==== Emerge ==== | |||
<console>###i## emerge sshfs-fuse</console> | |||
=== Use === | |||
==== as root ==== | |||
create a mountpoint: | |||
<console>###i## mkdir /mnt/remote</console> | |||
<console>###i## sshfs myuser@ipaddress:/home/myuser/media /mnt/remote</console> | |||
To unmount: | |||
<console>###i## fusermount -u /mnt/remote</console> | |||
==== as a user ==== | |||
sshfs requires sshfs ran as a user if a user is to access the content. | |||
create a mountpoint: | |||
<console>###i## mkdir /mnt/remote</console> | |||
change mount point to be under the user | |||
<console>###i## chown user:user /mnt/remote | |||
<console>$##i## sshfs myuser@ipaddress:/home/myuser/media /mnt/remote</console> | |||
To unmount: | |||
<console>###i## fusermount -u /mnt/remote</console> | |||
{{EbuildFooter}} |
Latest revision as of 23:52, September 29, 2014
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