source: postlfs/filesystems/sshfs.xml@ 55781c2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 55781c2 was 2c71e1c, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Minor editorial changes

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

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