[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
|
---|
[0a137358] | 8 | "https://github.com/libfuse/sshfs/releases/download/sshfs-&sshfs-version;/sshfs-&sshfs-version;.tar.xz">
|
---|
[aaf0f3f] | 9 | <!ENTITY sshfs-download-ftp " ">
|
---|
[8d024f31] | 10 | <!ENTITY sshfs-md5sum "f704f0d1800bdb5214030a1603e8c6d6">
|
---|
| 11 | <!ENTITY sshfs-size "56 KB">
|
---|
[b7e2ce4] | 12 | <!ENTITY sshfs-buildsize "0.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 |
|
---|
[aaf0f3f] | 20 | <title>sshfs-&sshfs-version;</title>
|
---|
[ee000c3d] | 21 |
|
---|
[aaf0f3f] | 22 | <indexterm zone="sshfs">
|
---|
| 23 | <primary sortas="a-sshfs">sshfs</primary>
|
---|
[ee000c3d] | 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
[aaf0f3f] | 27 | <title>Introduction to Sshfs</title>
|
---|
[ee000c3d] | 28 |
|
---|
| 29 | <para>
|
---|
[aaf0f3f] | 30 | The <application>Sshfs</application> package contains a filesystem
|
---|
[ee000c3d] | 31 | client based on the SSH File Transfer Protocol. This is useful for
|
---|
| 32 | mounting a remote computer that you have ssh access to as a local
|
---|
| 33 | filesystem. This allows you to drag and drop files or run shell commands
|
---|
| 34 | on the remote files as if they were on your local computer.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[ce1dd9df] | 37 | &lfs112_checked;
|
---|
[ee000c3d] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
[aaf0f3f] | 43 | Download (HTTP): <ulink url="&sshfs-download-http;"/>
|
---|
[ee000c3d] | 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
[aaf0f3f] | 48 | Download (FTP): <ulink url="&sshfs-download-ftp;"/>
|
---|
[ee000c3d] | 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
[aaf0f3f] | 53 | Download MD5 sum: &sshfs-md5sum;
|
---|
[ee000c3d] | 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
[aaf0f3f] | 58 | Download size: &sshfs-size;
|
---|
[ee000c3d] | 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
[aaf0f3f] | 63 | Estimated disk space required: &sshfs-buildsize;
|
---|
[ee000c3d] | 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
[aaf0f3f] | 68 | Estimated build time: &sshfs-time;
|
---|
[ee000c3d] | 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[aaf0f3f] | 73 | <bridgehead renderas="sect3">Sshfs Dependencies</bridgehead>
|
---|
[ee000c3d] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
[a770b0e] | 77 | <xref linkend="fuse3"/>,
|
---|
[0d7900a] | 78 | <xref linkend="glib2"/>, and
|
---|
[ee000c3d] | 79 | <xref linkend="openssh"/>.
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
[d3ea9e8] | 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
| 84 | <xref linkend="docutils"/> (required to build the man page)
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
[ee000c3d] | 87 | <para condition="html" role="usernotes">
|
---|
[aaf0f3f] | 88 | User Notes: <ulink url="&blfs-wiki;/sshfs"/>
|
---|
[ee000c3d] | 89 | </para>
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
[aaf0f3f] | 93 | <title>Installation of Sshfs</title>
|
---|
[a14ca50] | 94 |
|
---|
[ee000c3d] | 95 | <para>
|
---|
[aaf0f3f] | 96 | Install <application>Sshfs</application> by running the following
|
---|
[ee000c3d] | 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
[2e0d6b9] | 100 | <screen><userinput>mkdir build &&
|
---|
| 101 | cd build &&
|
---|
[8558044] | 102 |
|
---|
[b7e2ce4] | 103 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[2e0d6b9] | 104 | ninja</userinput></screen>
|
---|
[ee000c3d] | 105 |
|
---|
| 106 | <para>
|
---|
| 107 | This package does not come with a test suite.
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
[2e0d6b9] | 114 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[ee000c3d] | 115 | </sect2>
|
---|
| 116 |
|
---|
[aaf0f3f] | 117 | <sect2 role="using">
|
---|
| 118 | <title>Using Sshfs</title>
|
---|
[ee000c3d] | 119 |
|
---|
| 120 | <para>
|
---|
| 121 | To mount an ssh server you need to be able to log into the server. For
|
---|
[bd12474e] | 122 | example, to mount your remote home folder to the local ~/examplepath (the
|
---|
[12b2d1d6] | 123 | directory must exist and you must have permissions to write to it):
|
---|
[ee000c3d] | 124 | </para>
|
---|
| 125 |
|
---|
[bd12474e] | 126 | <screen><userinput>sshfs example.com:/home/userid ~/examplepath</userinput></screen>
|
---|
[ee000c3d] | 127 |
|
---|
| 128 | <para>
|
---|
| 129 | When you've finished work and want to unmount it again:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[2e0d6b9] | 132 | <screen><userinput>fusermount3 -u ~/example</userinput></screen>
|
---|
[1eaf5ad] | 133 |
|
---|
| 134 | <para>
|
---|
| 135 | You can also mount an <application>sshfs</application> filesystem at boot
|
---|
| 136 | by adding an entry similar to the following in the
|
---|
| 137 | <filename>/etc/fstab</filename> file:
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[2e0d6b9] | 140 | <screen><literal>userid@example.com:/path /media/path fuse.sshfs _netdev,IdentityFile=/home/userid/.ssh/id_rsa 0 0</literal></screen>
|
---|
[1eaf5ad] | 141 |
|
---|
| 142 | <para>
|
---|
[83655459] | 143 | See <command>man 1 sshfs</command> and <command>man 8 mount.fuse3</command>
|
---|
[1eaf5ad] | 144 | for all available mount options.
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
[ee000c3d] | 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
[ee000c3d] | 156 |
|
---|
| 157 | <seglistitem>
|
---|
[c3c56b2] | 158 | <seg>
|
---|
| 159 | sshfs
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | None
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
[ee000c3d] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
[aaf0f3f] | 175 | <varlistentry id="sshfs-prog">
|
---|
[ee000c3d] | 176 | <term><command>sshfs</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
[4c24eb0a] | 179 | mounts an <command>ssh</command> server as a local file system
|
---|
[ee000c3d] | 180 | </para>
|
---|
[aaf0f3f] | 181 | <indexterm zone="sshfs sshfs-prog">
|
---|
[ee000c3d] | 182 | <primary sortas="b-sshfs">sshfs</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 | </variablelist>
|
---|
| 187 | </sect2>
|
---|
[4c24eb0a] | 188 |
|
---|
[ee000c3d] | 189 | </sect1>
|
---|