1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY sshfs-download-http
|
---|
8 | "https://github.com/libfuse/sshfs/releases/download/sshfs-&sshfs-version;/sshfs-&sshfs-version;.tar.gz">
|
---|
9 | <!ENTITY sshfs-download-ftp " ">
|
---|
10 | <!ENTITY sshfs-md5sum "995b7503ac99e9b877f9c6c12e2fd8aa">
|
---|
11 | <!ENTITY sshfs-size "160 KB">
|
---|
12 | <!ENTITY sshfs-buildsize "1.0 MB">
|
---|
13 | <!ENTITY sshfs-time "less than 0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="sshfs" xreflabel="sshfs-&sshfs-version;">
|
---|
17 | <?dbhtml filename="sshfs.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy: renodr $</othername>
|
---|
21 | <date>$Date: 2016-08-27 23:14:16 +0200 (sam. 27 août 2016) $</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>sshfs-&sshfs-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="sshfs">
|
---|
27 | <primary sortas="a-sshfs">sshfs</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Sshfs</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>Sshfs</application> package contains a filesystem
|
---|
35 | client based on the SSH File Transfer Protocol. This is useful for
|
---|
36 | mounting a remote computer that you have ssh access to as a local
|
---|
37 | filesystem. This allows you to drag and drop files or run shell commands
|
---|
38 | on the remote files as if they were on your local computer.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs80_checked;
|
---|
42 | &gcc7_checked;
|
---|
43 |
|
---|
44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
45 | <itemizedlist spacing="compact">
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (HTTP): <ulink url="&sshfs-download-http;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download (FTP): <ulink url="&sshfs-download-ftp;"/>
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download MD5 sum: &sshfs-md5sum;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download size: &sshfs-size;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated disk space required: &sshfs-buildsize;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Estimated build time: &sshfs-time;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | </itemizedlist>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect3">Sshfs Dependencies</bridgehead>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
81 | <para role="required">
|
---|
82 | <xref linkend="fuse3"/>,
|
---|
83 | <xref linkend="glib2"/>, and
|
---|
84 | <xref linkend="openssh"/>.
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <para condition="html" role="usernotes">
|
---|
88 | User Notes: <ulink url="&blfs-wiki;/sshfs"/>
|
---|
89 | </para>
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2 role="installation">
|
---|
93 | <title>Installation of Sshfs</title>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | Install <application>Sshfs</application> by running the following
|
---|
97 | commands:
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen><userinput>./configure --prefix=/usr &&
|
---|
101 | make</userinput></screen>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | This package does not come with a test suite.
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <para>
|
---|
108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="using">
|
---|
115 | <title>Using Sshfs</title>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | To mount an ssh server you need to be able to log into the server. For
|
---|
119 | example, to mount your remote home folder to the local ~/MOUNTPATH (the
|
---|
120 | directory must exist and you must have permissions to write to it):
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen><userinput>sshfs HOSTNAME:/home/userd ~/MOUNTPATH</userinput></screen>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | When you've finished work and want to unmount it again:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen><userinput>fusermount -u ~/MOUNTPATH</userinput></screen>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | You can also mount an <application>sshfs</application> filesystem at boot
|
---|
133 | by adding an entry similar to the following in the
|
---|
134 | <filename>/etc/fstab</filename> file:
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <screen>USER@HOSTNAME:/path /media/MOUNTPATH fuse.sshfs _netdev,IdentityFile=/home/USER/.ssh/id_rsa 0 0</screen>
|
---|
138 |
|
---|
139 | <para>
|
---|
140 | See <command>man 1 sshfs</command> and <command>man 8 mount.fuse</command>
|
---|
141 | for all available mount options.
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | <sect2 role="content">
|
---|
147 | <title>Contents</title>
|
---|
148 |
|
---|
149 | <segmentedlist>
|
---|
150 | <segtitle>Installed Program</segtitle>
|
---|
151 | <segtitle>Installed Libraries</segtitle>
|
---|
152 | <segtitle>Installed Directories</segtitle>
|
---|
153 |
|
---|
154 | <seglistitem>
|
---|
155 | <seg>
|
---|
156 | sshfs
|
---|
157 | </seg>
|
---|
158 | <seg>
|
---|
159 | None
|
---|
160 | </seg>
|
---|
161 | <seg>
|
---|
162 | None
|
---|
163 | </seg>
|
---|
164 | </seglistitem>
|
---|
165 | </segmentedlist>
|
---|
166 |
|
---|
167 | <variablelist>
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 | <?dbfo list-presentation="list"?>
|
---|
170 | <?dbhtml list-presentation="table"?>
|
---|
171 |
|
---|
172 | <varlistentry id="sshfs-prog">
|
---|
173 | <term><command>sshfs</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>
|
---|
176 | mounts an <command>ssh</command> server as a local file system.
|
---|
177 | </para>
|
---|
178 | <indexterm zone="sshfs sshfs-prog">
|
---|
179 | <primary sortas="b-sshfs">sshfs</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 | </variablelist>
|
---|
184 | </sect2>
|
---|
185 | </sect1>
|
---|