source: postlfs/filesystems/sshfs.xml@ 0a13735

10.0 10.1 11.0 11.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 0a13735 was 0a13735, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Fix sshfs url

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19520 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.6 KB
Line 
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.xz">
9 <!ENTITY sshfs-download-ftp " ">
10 <!ENTITY sshfs-md5sum "f261fe7ec77adc3a53f2116f3b8cb8ab">
11 <!ENTITY sshfs-size "48 KB">
12 <!ENTITY sshfs-buildsize "1.9 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 &lfs81_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&sshfs-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&sshfs-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &sshfs-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &sshfs-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &sshfs-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &sshfs-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Sshfs Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Required</bridgehead>
80 <para role="required">
81 <xref linkend="fuse3"/>,
82 <xref linkend="glib2"/>, and
83 <xref linkend="openssh"/>.
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="docutils"/> (required to build the man page)
89 </para>
90
91 <para condition="html" role="usernotes">
92 User Notes: <ulink url="&blfs-wiki;/sshfs"/>
93 </para>
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of Sshfs</title>
98
99 <para>
100 If you are building on i686, <application>sshfs</application> needs
101 an extra CFLAGS setting to be defined. This prevents an integer
102 overflow. To do this, run the following command:
103 </para>
104
105<screen><userinput>if [ $(uname -m) = "i686" ]; then
106 export CFLAGS+="-D_FILE_OFFSET_BITS=64";
107fi</userinput></screen>
108
109 <para>
110 Install <application>Sshfs</application> by running the following
111 commands:
112 </para>
113
114<screen><userinput>./configure --prefix=/usr &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 This package does not come with a test suite.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126 </sect2>
127
128 <sect2 role="using">
129 <title>Using Sshfs</title>
130
131 <para>
132 To mount an ssh server you need to be able to log into the server. For
133 example, to mount your remote home folder to the local ~/examplepath (the
134 directory must exist and you must have permissions to write to it):
135 </para>
136
137<screen><userinput>sshfs example.com:/home/userid ~/examplepath</userinput></screen>
138
139 <para>
140 When you've finished work and want to unmount it again:
141 </para>
142
143<screen><userinput>fusermount -u ~/example</userinput></screen>
144
145 <para>
146 You can also mount an <application>sshfs</application> filesystem at boot
147 by adding an entry similar to the following in the
148 <filename>/etc/fstab</filename> file:
149 </para>
150
151<screen>userid@example.com:/path /media/path fuse.sshfs _netdev,IdentityFile=/home/userid/.ssh/id_rsa 0 0</screen>
152
153 <para>
154 See <command>man 1 sshfs</command> and <command>man 8 mount.fuse</command>
155 for all available mount options.
156 </para>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Program</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 sshfs
171 </seg>
172 <seg>
173 None
174 </seg>
175 <seg>
176 None
177 </seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="sshfs-prog">
187 <term><command>sshfs</command></term>
188 <listitem>
189 <para>
190 mounts an <command>ssh</command> server as a local file system.
191 </para>
192 <indexterm zone="sshfs sshfs-prog">
193 <primary sortas="b-sshfs">sshfs</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197 </variablelist>
198 </sect2>
199</sect1>
Note: See TracBrowser for help on using the repository browser.