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