Difference between pages "Template:P1" and "Package:Sshfs-fuse"

(Difference between pages)
m (moved doc to documentation)
 
(initial commit)
 
Line 1: Line 1:
{{{1}}}<noinclude>{{documentation}}</noinclude>
+
{{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, 29 September 2014

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