2012-05-03 19:05:08 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<!ENTITY sshfs-download-http
|
2017-04-20 00:06:30 +08:00
|
|
|
"https://github.com/libfuse/sshfs/releases/download/sshfs-&sshfs-version;/sshfs-&sshfs-version;.tar.gz">
|
2016-12-19 02:11:22 +08:00
|
|
|
<!ENTITY sshfs-download-ftp " ">
|
2017-07-15 00:46:04 +08:00
|
|
|
<!ENTITY sshfs-md5sum "995b7503ac99e9b877f9c6c12e2fd8aa">
|
|
|
|
<!ENTITY sshfs-size "160 KB">
|
|
|
|
<!ENTITY sshfs-buildsize "1.0 MB">
|
2016-12-19 02:11:22 +08:00
|
|
|
<!ENTITY sshfs-time "less than 0.1 SBU">
|
2012-05-03 19:05:08 +08:00
|
|
|
]>
|
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<sect1 id="sshfs" xreflabel="sshfs-&sshfs-version;">
|
|
|
|
<?dbhtml filename="sshfs.html"?>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<sect1info>
|
2016-12-19 02:11:22 +08:00
|
|
|
<othername>$LastChangedBy: renodr $</othername>
|
|
|
|
<date>$Date: 2016-08-27 23:14:16 +0200 (sam. 27 août 2016) $</date>
|
2012-05-03 19:05:08 +08:00
|
|
|
</sect1info>
|
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<title>sshfs-&sshfs-version;</title>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<indexterm zone="sshfs">
|
|
|
|
<primary sortas="a-sshfs">sshfs</primary>
|
2012-05-03 19:05:08 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2016-12-19 02:11:22 +08:00
|
|
|
<title>Introduction to Sshfs</title>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
The <application>Sshfs</application> package contains a filesystem
|
2012-05-03 19:05:08 +08:00
|
|
|
client based on the SSH File Transfer Protocol. This is useful for
|
|
|
|
mounting a remote computer that you have ssh access to as a local
|
|
|
|
filesystem. This allows you to drag and drop files or run shell commands
|
|
|
|
on the remote files as if they were on your local computer.
|
|
|
|
</para>
|
|
|
|
|
2017-02-15 05:20:57 +08:00
|
|
|
&lfs80_checked;
|
2017-07-15 00:46:04 +08:00
|
|
|
&gcc7_checked;
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Download (HTTP): <ulink url="&sshfs-download-http;"/>
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Download (FTP): <ulink url="&sshfs-download-ftp;"/>
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Download MD5 sum: &sshfs-md5sum;
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Download size: &sshfs-size;
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Estimated disk space required: &sshfs-buildsize;
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Estimated build time: &sshfs-time;
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<bridgehead renderas="sect3">Sshfs Dependencies</bridgehead>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2017-07-15 00:46:04 +08:00
|
|
|
<xref linkend="fuse3"/>,
|
2013-02-12 02:51:17 +08:00
|
|
|
<xref linkend="glib2"/>, and
|
2012-05-03 19:05:08 +08:00
|
|
|
<xref linkend="openssh"/>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
2016-12-19 02:11:22 +08:00
|
|
|
User Notes: <ulink url="&blfs-wiki;/sshfs"/>
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2016-12-19 02:11:22 +08:00
|
|
|
<title>Installation of Sshfs</title>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<para>
|
2016-12-19 02:11:22 +08:00
|
|
|
Install <application>Sshfs</application> by running the following
|
2012-05-03 19:05:08 +08:00
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<sect2 role="using">
|
|
|
|
<title>Using Sshfs</title>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
To mount an ssh server you need to be able to log into the server. For
|
2017-07-02 13:25:32 +08:00
|
|
|
example, to mount your remote home folder to the local ~/MOUNTPATH (the
|
|
|
|
directory must exist and you must have permissions to write to it):
|
2012-05-03 19:05:08 +08:00
|
|
|
</para>
|
|
|
|
|
2017-07-15 00:46:04 +08:00
|
|
|
<screen><userinput>sshfs HOSTNAME:/home/userd ~/MOUNTPATH</userinput></screen>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
When you've finished work and want to unmount it again:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>fusermount -u ~/MOUNTPATH</userinput></screen>
|
2017-04-12 07:52:29 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
You can also mount an <application>sshfs</application> filesystem at boot
|
|
|
|
by adding an entry similar to the following in the
|
|
|
|
<filename>/etc/fstab</filename> file:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen>USER@HOSTNAME:/path /media/MOUNTPATH fuse.sshfs _netdev,IdentityFile=/home/USER/.ssh/id_rsa 0 0</screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
See <command>man 1 sshfs</command> and <command>man 8 mount.fuse</command>
|
|
|
|
for all available mount options.
|
|
|
|
</para>
|
|
|
|
|
2012-05-03 19:05:08 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2012-05-03 19:05:08 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
|
|
|
sshfs
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2012-05-03 19:05:08 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2016-12-19 02:11:22 +08:00
|
|
|
<varlistentry id="sshfs-prog">
|
2012-05-03 19:05:08 +08:00
|
|
|
<term><command>sshfs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
mounts an <command>ssh</command> server as a local file system.
|
|
|
|
</para>
|
2016-12-19 02:11:22 +08:00
|
|
|
<indexterm zone="sshfs sshfs-prog">
|
2012-05-03 19:05:08 +08:00
|
|
|
<primary sortas="b-sshfs">sshfs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|