[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[3a37311] | 7 | <!ENTITY openssh-download-http
|
---|
[8ba08b56] | 8 | "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz">
|
---|
[3a37311] | 9 | <!ENTITY openssh-download-ftp
|
---|
[a93f2f1] | 10 | " "> <!-- at the moment, unable to connect via ftp: ken
|
---|
| 11 | "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-&openssh-version;.tar.gz"> -->
|
---|
[479274d] | 12 | <!ENTITY openssh-md5sum "3076e6413e8dbe56d33848c1054ac091">
|
---|
| 13 | <!ENTITY openssh-size "1.6 MB">
|
---|
| 14 | <!ENTITY openssh-buildsize "43 MB (add 17 MB for tests)">
|
---|
[d96708a] | 15 | <!ENTITY openssh-time "0.2 SBU (Using parallelism=4;
|
---|
[479274d] | 16 | running the tests takes 17+ minutes,
|
---|
[6c6990c] | 17 | irrespective of processor speed)">
|
---|
[0931098] | 18 | ]>
|
---|
| 19 |
|
---|
[1708d1e9] | 20 | <sect1 id="openssh" xreflabel="OpenSSH-&openssh-version;">
|
---|
[e4e0d060] | 21 | <?dbhtml filename="openssh.html"?>
|
---|
| 22 |
|
---|
| 23 | <sect1info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 26 | </sect1info>
|
---|
| 27 |
|
---|
| 28 | <title>OpenSSH-&openssh-version;</title>
|
---|
| 29 |
|
---|
[0978e07] | 30 | <indexterm zone="openssh">
|
---|
| 31 | <primary sortas="a-OpenSSH">OpenSSH</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="package">
|
---|
| 35 | <title>Introduction to OpenSSH</title>
|
---|
| 36 |
|
---|
[8ba08b56] | 37 | <para>
|
---|
| 38 | The <application>OpenSSH</application> package contains
|
---|
[45db70f] | 39 | <command>ssh</command> clients and the <command>sshd</command> daemon.
|
---|
| 40 | This is useful for encrypting authentication and subsequent traffic over
|
---|
| 41 | a network. The <command>ssh</command> and <command>scp</command> commands
|
---|
| 42 | are secure implementations of <command>telnet</command> and
|
---|
| 43 | <command>rcp</command> respectively.
|
---|
[8ba08b56] | 44 | </para>
|
---|
[6b5cc24] | 45 |
|
---|
[479274d] | 46 | &lfs91_checked;
|
---|
[6b5cc24] | 47 |
|
---|
[e4e0d060] | 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
[3a37311] | 51 | <para>
|
---|
| 52 | Download (HTTP): <ulink url="&openssh-download-http;"/>
|
---|
| 53 | </para>
|
---|
[e4e0d060] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[3a37311] | 56 | <para>
|
---|
| 57 | Download (FTP): <ulink url="&openssh-download-ftp;"/>
|
---|
| 58 | </para>
|
---|
[e4e0d060] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[3a37311] | 61 | <para>
|
---|
| 62 | Download MD5 sum: &openssh-md5sum;
|
---|
| 63 | </para>
|
---|
[e4e0d060] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[3a37311] | 66 | <para>
|
---|
| 67 | Download size: &openssh-size;
|
---|
| 68 | </para>
|
---|
[e4e0d060] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[3a37311] | 71 | <para>
|
---|
| 72 | Estimated disk space required: &openssh-buildsize;
|
---|
| 73 | </para>
|
---|
[e4e0d060] | 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
[3a37311] | 76 | <para>
|
---|
| 77 | Estimated build time: &openssh-time;
|
---|
| 78 | </para>
|
---|
[e4e0d060] | 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
[479274d] | 81 | <!--
|
---|
[3806235] | 82 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 83 | <itemizedlist spacing="compact">
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>
|
---|
| 86 | Required patch:
|
---|
[f2cb3164] | 87 | <ulink url="&patch-root;/openssh-&openssh-version;-glibc_2.31_fix-1.patch"/>
|
---|
[3806235] | 88 | </para>
|
---|
| 89 | </listitem>
|
---|
| 90 | </itemizedlist>
|
---|
[479274d] | 91 | -->
|
---|
[e4e0d060] | 92 | <bridgehead renderas="sect3">OpenSSH Dependencies</bridgehead>
|
---|
[31427bc] | 93 |
|
---|
[e4e0d060] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[3a37311] | 95 | <para role="optional">
|
---|
[d38746e] | 96 | <xref linkend="gdb"/> (for tests),
|
---|
[3a37311] | 97 | <xref linkend="linux-pam"/>,
|
---|
| 98 | <xref linkend="x-window-system"/>,
|
---|
| 99 | <xref linkend="mitkrb"/>,
|
---|
[ba0004e] | 100 | <ulink url="http://www.thrysoee.dk/editline/">libedit</ulink>,
|
---|
[94b42903] | 101 | <ulink url="http://www.libressl.org/">LibreSSL Portable</ulink>,
|
---|
[6c6990c] | 102 | <ulink url="https://github.com/OpenSC/OpenSC/wiki">OpenSC</ulink>, and
|
---|
[3a37311] | 103 | <ulink url="http://www.citi.umich.edu/projects/smartcard/sectok.html">libsectok</ulink>
|
---|
| 104 | </para>
|
---|
[9561d7e] | 105 |
|
---|
[409e2e7] | 106 | <bridgehead renderas="sect4">Optional Runtime (Used only to gather entropy)</bridgehead>
|
---|
[3a37311] | 107 | <para role="optional">
|
---|
[96e9478] | 108 | <xref role="runtime" linkend="openjdk"/>,
|
---|
| 109 | <xref role="runtime" linkend="net-tools"/>, and
|
---|
| 110 | <xref role="runtime" linkend="sysstat"/>
|
---|
[3a37311] | 111 | </para>
|
---|
[e4e0d060] | 112 |
|
---|
[3a37311] | 113 | <para condition="html" role="usernotes">
|
---|
[8ba08b56] | 114 | User Notes: <ulink url="&blfs-wiki;/OpenSSH"/>
|
---|
[3a37311] | 115 | </para>
|
---|
[e4e0d060] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of OpenSSH</title>
|
---|
| 120 |
|
---|
[3a37311] | 121 | <para>
|
---|
| 122 | <application>OpenSSH</application> runs as two processes when connecting
|
---|
| 123 | to other computers. The first process is a privileged process and controls
|
---|
| 124 | the issuance of privileges as necessary. The second process communicates
|
---|
| 125 | with the network. Additional installation steps are necessary to set up
|
---|
| 126 | the proper environment, which are performed by issuing the following
|
---|
| 127 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 128 | </para>
|
---|
[e4e0d060] | 129 |
|
---|
[6c6990c] | 130 | <screen role="root"><userinput>install -v -m700 -d /var/lib/sshd &&
|
---|
| 131 | chown -v root:sys /var/lib/sshd &&
|
---|
[59382ab] | 132 |
|
---|
[6c6990c] | 133 | groupadd -g 50 sshd &&
|
---|
| 134 | useradd -c 'sshd PrivSep' \
|
---|
| 135 | -d /var/lib/sshd \
|
---|
| 136 | -g sshd \
|
---|
| 137 | -s /bin/false \
|
---|
| 138 | -u 50 sshd</userinput></screen>
|
---|
[479274d] | 139 | <!--
|
---|
[3806235] | 140 | <para>
|
---|
| 141 | Apply a patch to allow OpenSSH to build and function with
|
---|
[f2cb3164] | 142 | <application>Glibc-2.31</application> and later:
|
---|
[3806235] | 143 | </para>
|
---|
| 144 |
|
---|
[f2cb3164] | 145 | <screen><userinput remap="pre">patch -Np1 -i ../openssh-&openssh-version;-glibc_2.31_fix-1.patch</userinput></screen>
|
---|
[479274d] | 146 | -->
|
---|
[3a37311] | 147 | <para>
|
---|
| 148 | Install <application>OpenSSH</application> by running the following
|
---|
| 149 | commands:
|
---|
| 150 | </para>
|
---|
[0931098] | 151 |
|
---|
[31427bc] | 152 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5a2f5972] | 153 | --sysconfdir=/etc/ssh \
|
---|
| 154 | --with-md5-passwords \
|
---|
[d52512f2] | 155 | --with-privsep-path=/var/lib/sshd &&
|
---|
[3a3b19b] | 156 | make</userinput></screen>
|
---|
[1b83a7c1] | 157 |
|
---|
[3a37311] | 158 | <para>
|
---|
[bc6e56d] | 159 | The testsuite requires an installed copy of <command>scp</command> to
|
---|
| 160 | complete the multiplexing tests. To run the test suite, first copy the
|
---|
| 161 | <command>scp</command> program to
|
---|
| 162 | <filename class="directory">/usr/bin</filename>, making sure that you
|
---|
[45db70f] | 163 | backup any existing copy first.
|
---|
[3a37311] | 164 | </para>
|
---|
[409e2e7] | 165 |
|
---|
[5a6a6be] | 166 | <para>
|
---|
[5a2f5972] | 167 | To test the results, issue: <command>make tests</command>.
|
---|
[5a6a6be] | 168 | </para>
|
---|
| 169 |
|
---|
| 170 | <!-- commenting this, I get "all tests passed" [ ken ]
|
---|
| 171 | NB tests should be run as _user_ but the role in the comment is root
|
---|
[59382ab] | 172 |
|
---|
| 173 | commenting [ bruce ]: There are a couple of tests that want root.
|
---|
[6c6990c] | 174 | The log mentions that SUDO is not set. These skipped tests are
|
---|
[59382ab] | 175 | ignored and the end says 'all tests passed' even when not root
|
---|
| 176 |
|
---|
[3a37311] | 177 | <para>
|
---|
| 178 | To run the test suite, issue the following commands:
|
---|
| 179 | </para>
|
---|
[7c9e252] | 180 |
|
---|
[409e2e7] | 181 | <screen role="root"><userinput>make tests 2>&1 | tee check.log
|
---|
| 182 | grep FATAL check.log</userinput></screen>
|
---|
[7c9e252] | 183 |
|
---|
[3a37311] | 184 | <para>
|
---|
| 185 | If the above command produces no 'FATAL' errors, then proceed with the
|
---|
| 186 | installation, as the <systemitem class="username">root</systemitem> user:
|
---|
[5a6a6be] | 187 | </para>-->
|
---|
| 188 | <para>
|
---|
| 189 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[3a37311] | 190 | </para>
|
---|
[7c9e252] | 191 |
|
---|
[6c6990c] | 192 | <screen role="root"><userinput>make install &&
|
---|
| 193 | install -v -m755 contrib/ssh-copy-id /usr/bin &&
|
---|
| 194 |
|
---|
| 195 | install -v -m644 contrib/ssh-copy-id.1 \
|
---|
| 196 | /usr/share/man/man1 &&
|
---|
[5ee1266] | 197 | install -v -m755 -d /usr/share/doc/openssh-&openssh-version; &&
|
---|
[6c6990c] | 198 | install -v -m644 INSTALL LICENCE OVERVIEW README* \
|
---|
| 199 | /usr/share/doc/openssh-&openssh-version;</userinput></screen>
|
---|
[e4e0d060] | 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | <sect2 role="commands">
|
---|
| 203 | <title>Command Explanations</title>
|
---|
| 204 |
|
---|
[3a37311] | 205 | <para>
|
---|
| 206 | <parameter>--sysconfdir=/etc/ssh</parameter>: This prevents the
|
---|
| 207 | configuration files from being installed in
|
---|
| 208 | <filename class="directory">/usr/etc</filename>.
|
---|
| 209 | </para>
|
---|
| 210 |
|
---|
| 211 | <para>
|
---|
| 212 | <parameter>--with-md5-passwords</parameter>: This enables the use of MD5
|
---|
| 213 | passwords.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
| 216 | <para>
|
---|
[f1d7196] | 217 | <option>--with-pam</option>: This parameter enables
|
---|
[3a37311] | 218 | <application>Linux-PAM</application> support in the build.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para>
|
---|
[f1d7196] | 222 | <option>--with-xauth=/usr/bin/xauth</option>: Set the default
|
---|
[3a37311] | 223 | location for the <command>xauth</command> binary for X authentication.
|
---|
| 224 | Change the location if <command>xauth</command> will be installed to a
|
---|
| 225 | different path. This can also be controlled from
|
---|
| 226 | <filename>sshd_config</filename> with the XAuthLocation keyword. You can
|
---|
| 227 | omit this switch if <application>Xorg</application> is already installed.
|
---|
| 228 | </para>
|
---|
| 229 |
|
---|
| 230 | <para>
|
---|
[f1d7196] | 231 | <option>--with-kerberos5=/usr</option>: This option is used to
|
---|
[3a37311] | 232 | include Kerberos 5 support in the build.
|
---|
| 233 | </para>
|
---|
[409e2e7] | 234 |
|
---|
[ba0004e] | 235 | <para>
|
---|
[f1d7196] | 236 | <option>--with-libedit</option>: This option enables line editing
|
---|
[ba0004e] | 237 | and history features for <command>sftp</command>.
|
---|
| 238 | </para>
|
---|
| 239 |
|
---|
[e4e0d060] | 240 | </sect2>
|
---|
| 241 |
|
---|
| 242 | <sect2 role="configuration">
|
---|
| 243 | <title>Configuring OpenSSH</title>
|
---|
| 244 |
|
---|
| 245 | <sect3 id="openssh-config">
|
---|
| 246 | <title>Config Files</title>
|
---|
| 247 |
|
---|
[3a37311] | 248 | <para>
|
---|
| 249 | <filename>~/.ssh/*</filename>,
|
---|
[e4e0d060] | 250 | <filename>/etc/ssh/ssh_config</filename>, and
|
---|
[3a37311] | 251 | <filename>/etc/ssh/sshd_config</filename>
|
---|
| 252 | </para>
|
---|
[e4e0d060] | 253 |
|
---|
| 254 | <indexterm zone="openssh openssh-config">
|
---|
| 255 | <primary sortas="e-AA.ssh">~/.ssh/*</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 |
|
---|
| 258 | <indexterm zone="openssh openssh-config">
|
---|
| 259 | <primary sortas="e-etc-ssh-ssh_config">/etc/ssh/ssh_config</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 |
|
---|
| 262 | <indexterm zone="openssh openssh-config">
|
---|
| 263 | <primary sortas="e-etc-ssh-sshd_config">/etc/ssh/sshd_config</primary>
|
---|
| 264 | </indexterm>
|
---|
| 265 |
|
---|
[3a37311] | 266 | <para>
|
---|
| 267 | There are no required changes to any of these files. However,
|
---|
| 268 | you may wish to view the
|
---|
| 269 | <filename class='directory'>/etc/ssh/</filename> files and make any
|
---|
| 270 | changes appropriate for the security of your system. One recommended
|
---|
| 271 | change is that you disable
|
---|
| 272 | <systemitem class='username'>root</systemitem> login via
|
---|
| 273 | <command>ssh</command>. Execute the following command as the
|
---|
| 274 | <systemitem class='username'>root</systemitem> user to disable
|
---|
| 275 | <systemitem class='username'>root</systemitem> login via
|
---|
| 276 | <command>ssh</command>:
|
---|
| 277 | </para>
|
---|
[e4e0d060] | 278 |
|
---|
[6c24da75] | 279 | <screen role="root"><userinput>echo "PermitRootLogin no" >> /etc/ssh/sshd_config</userinput></screen>
|
---|
| 280 |
|
---|
[3a37311] | 281 | <para>
|
---|
| 282 | If you want to be able to log in without typing in your password, first
|
---|
| 283 | create ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub with
|
---|
| 284 | <command>ssh-keygen</command> and then copy ~/.ssh/id_rsa.pub to
|
---|
| 285 | ~/.ssh/authorized_keys on the remote computer that you want to log into.
|
---|
[f507f06] | 286 | You'll need to change REMOTE_USERNAME and REMOTE_HOSTNAME for the username and hostname of the remote
|
---|
| 287 | computer and you'll also need to enter your password for the ssh-copy-id command
|
---|
[3a37311] | 288 | to succeed:
|
---|
| 289 | </para>
|
---|
| 290 |
|
---|
| 291 | <screen><userinput>ssh-keygen &&
|
---|
[f507f06] | 292 | ssh-copy-id -i ~/.ssh/id_rsa.pub <replaceable>REMOTE_USERNAME</replaceable>@<replaceable>REMOTE_HOSTNAME</replaceable></userinput></screen>
|
---|
[3a37311] | 293 |
|
---|
| 294 | <para>
|
---|
| 295 | Once you've got passwordless logins working it's actually more secure
|
---|
| 296 | than logging in with a password (as the private key is much longer than
|
---|
| 297 | most people's passwords). If you would like to now disable password
|
---|
| 298 | logins, as the <systemitem class="username">root</systemitem> user:
|
---|
| 299 | </para>
|
---|
| 300 |
|
---|
| 301 |
|
---|
| 302 | <screen role="root"><userinput>echo "PasswordAuthentication no" >> /etc/ssh/sshd_config &&
|
---|
| 303 | echo "ChallengeResponseAuthentication no" >> /etc/ssh/sshd_config</userinput></screen>
|
---|
| 304 |
|
---|
| 305 | <para>
|
---|
[f586237] | 306 | If you added <application>Linux-PAM</application> support and you want
|
---|
[3a37311] | 307 | ssh to use it then you will need to add a configuration file for
|
---|
| 308 | <application>sshd</application> and enable use of
|
---|
| 309 | <application>LinuxPAM</application>. Note, ssh only uses PAM to check
|
---|
| 310 | passwords, if you've disabled password logins these commands are not
|
---|
[f586237] | 311 | needed. If you want to use PAM, issue the following commands as the
|
---|
[3a37311] | 312 | <systemitem class='username'>root</systemitem> user:
|
---|
| 313 | </para>
|
---|
[6c24da75] | 314 |
|
---|
| 315 | <screen role="root"><userinput>sed 's@d/login@d/sshd@g' /etc/pam.d/login > /etc/pam.d/sshd &&
|
---|
[b30ddee] | 316 | chmod 644 /etc/pam.d/sshd &&
|
---|
[5a6a6be] | 317 | echo "UsePAM yes" >> /etc/ssh/sshd_config</userinput></screen>
|
---|
[e4e0d060] | 318 |
|
---|
[3a37311] | 319 | <para>
|
---|
| 320 | Additional configuration information can be found in the man
|
---|
| 321 | pages for <command>sshd</command>, <command>ssh</command> and
|
---|
| 322 | <command>ssh-agent</command>.
|
---|
| 323 | </para>
|
---|
[e4e0d060] | 324 | </sect3>
|
---|
| 325 |
|
---|
| 326 | <sect3 id="openssh-init">
|
---|
[f586237] | 327 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 328 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[e4e0d060] | 329 |
|
---|
[f586237] | 330 | <para revision="sysv">
|
---|
[3a37311] | 331 | To start the SSH server at system boot, install the
|
---|
[3c7bd00] | 332 | <filename>/etc/rc.d/init.d/sshd</filename> init script included
|
---|
[f586237] | 333 | in the <xref linkend="bootscripts"/> package.
|
---|
| 334 | </para>
|
---|
| 335 |
|
---|
| 336 | <para revision="systemd">
|
---|
| 337 | To start the SSH server at system boot, install the
|
---|
| 338 | <filename>sshd.service</filename> unit included in the
|
---|
| 339 | <xref linkend="systemd-units"/> package.
|
---|
[3c7bd00] | 340 | </para>
|
---|
[e4e0d060] | 341 |
|
---|
| 342 | <indexterm zone="openssh openssh-init">
|
---|
| 343 | <primary sortas="f-sshd">sshd</primary>
|
---|
| 344 | </indexterm>
|
---|
| 345 |
|
---|
| 346 | <screen role="root"><userinput>make install-sshd</userinput></screen>
|
---|
| 347 | </sect3>
|
---|
| 348 | </sect2>
|
---|
| 349 |
|
---|
| 350 | <sect2 role="content">
|
---|
| 351 | <title>Contents</title>
|
---|
| 352 |
|
---|
| 353 | <segmentedlist>
|
---|
| 354 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 355 | <segtitle>Installed Libraries</segtitle>
|
---|
[e4e0d060] | 356 | <segtitle>Installed Directories</segtitle>
|
---|
| 357 |
|
---|
| 358 | <seglistitem>
|
---|
[3a37311] | 359 | <seg>
|
---|
[b2b7378b] | 360 | scp, sftp, slogin (symlink to ssh), ssh, ssh-add, ssh-agent,
|
---|
| 361 | ssh-copy-id, ssh-keygen, ssh-keyscan, and sshd
|
---|
[c3c56b2] | 362 | </seg>
|
---|
| 363 | <seg>
|
---|
| 364 | None
|
---|
[3a37311] | 365 | </seg>
|
---|
| 366 | <seg>
|
---|
| 367 | /etc/ssh,
|
---|
[c175983] | 368 | /usr/share/doc/openssh-&openssh-version;, and
|
---|
| 369 | /var/lib/sshd
|
---|
[3a37311] | 370 | </seg>
|
---|
[e4e0d060] | 371 | </seglistitem>
|
---|
| 372 | </segmentedlist>
|
---|
| 373 |
|
---|
| 374 | <variablelist>
|
---|
| 375 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 376 | <?dbfo list-presentation="list"?>
|
---|
| 377 | <?dbhtml list-presentation="table"?>
|
---|
| 378 |
|
---|
| 379 | <varlistentry id="scp">
|
---|
| 380 | <term><command>scp</command></term>
|
---|
| 381 | <listitem>
|
---|
[3a37311] | 382 | <para>
|
---|
| 383 | is a file copy program that acts like <command>rcp</command> except
|
---|
| 384 | it uses an encrypted protocol.
|
---|
| 385 | </para>
|
---|
[e4e0d060] | 386 | <indexterm zone="openssh scp">
|
---|
| 387 | <primary sortas="b-scp">scp</primary>
|
---|
| 388 | </indexterm>
|
---|
| 389 | </listitem>
|
---|
| 390 | </varlistentry>
|
---|
| 391 |
|
---|
| 392 | <varlistentry id="sftp">
|
---|
| 393 | <term><command>sftp</command></term>
|
---|
| 394 | <listitem>
|
---|
[3a37311] | 395 | <para>
|
---|
| 396 | is an FTP-like program that works over the SSH1 and SSH2 protocols.
|
---|
| 397 | </para>
|
---|
[e4e0d060] | 398 | <indexterm zone="openssh sftp">
|
---|
| 399 | <primary sortas="b-sftp">sftp</primary>
|
---|
| 400 | </indexterm>
|
---|
| 401 | </listitem>
|
---|
| 402 | </varlistentry>
|
---|
| 403 |
|
---|
| 404 | <varlistentry id="slogin">
|
---|
| 405 | <term><command>slogin</command></term>
|
---|
| 406 | <listitem>
|
---|
[3a37311] | 407 | <para>
|
---|
| 408 | is a symlink to <command>ssh</command>.
|
---|
| 409 | </para>
|
---|
[e4e0d060] | 410 | <indexterm zone="openssh slogin">
|
---|
[b960e3ec] | 411 | <primary sortas="b-slogin">slogin</primary>
|
---|
[e4e0d060] | 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
| 416 | <varlistentry id="ssh">
|
---|
| 417 | <term><command>ssh</command></term>
|
---|
| 418 | <listitem>
|
---|
[3a37311] | 419 | <para>
|
---|
| 420 | is an <command>rlogin</command>/<command>rsh</command>-like client
|
---|
| 421 | program except it uses an encrypted protocol.
|
---|
| 422 | </para>
|
---|
[e4e0d060] | 423 | <indexterm zone="openssh ssh">
|
---|
| 424 | <primary sortas="b-ssh">ssh</primary>
|
---|
| 425 | </indexterm>
|
---|
| 426 | </listitem>
|
---|
| 427 | </varlistentry>
|
---|
| 428 |
|
---|
| 429 | <varlistentry id="sshd">
|
---|
| 430 | <term><command>sshd</command></term>
|
---|
| 431 | <listitem>
|
---|
[3a37311] | 432 | <para>
|
---|
| 433 | is a daemon that listens for <command>ssh</command> login requests.
|
---|
| 434 | </para>
|
---|
[e4e0d060] | 435 | <indexterm zone="openssh sshd">
|
---|
| 436 | <primary sortas="b-sshd">sshd</primary>
|
---|
| 437 | </indexterm>
|
---|
| 438 | </listitem>
|
---|
| 439 | </varlistentry>
|
---|
| 440 |
|
---|
| 441 | <varlistentry id="ssh-add">
|
---|
| 442 | <term><command>ssh-add</command></term>
|
---|
| 443 | <listitem>
|
---|
[3a37311] | 444 | <para>
|
---|
| 445 | is a tool which adds keys to the <command>ssh-agent</command>.
|
---|
| 446 | </para>
|
---|
[e4e0d060] | 447 | <indexterm zone="openssh ssh-add">
|
---|
| 448 | <primary sortas="b-ssh-add">ssh-add</primary>
|
---|
| 449 | </indexterm>
|
---|
| 450 | </listitem>
|
---|
| 451 | </varlistentry>
|
---|
| 452 |
|
---|
| 453 | <varlistentry id="ssh-agent">
|
---|
| 454 | <term><command>ssh-agent</command></term>
|
---|
| 455 | <listitem>
|
---|
[3a37311] | 456 | <para>
|
---|
| 457 | is an authentication agent that can store private keys.
|
---|
| 458 | </para>
|
---|
[e4e0d060] | 459 | <indexterm zone="openssh ssh-agent">
|
---|
| 460 | <primary sortas="b-ssh-agent">ssh-agent</primary>
|
---|
| 461 | </indexterm>
|
---|
| 462 | </listitem>
|
---|
| 463 | </varlistentry>
|
---|
| 464 |
|
---|
[5a2f5972] | 465 | <varlistentry id="ssh-copy-id">
|
---|
| 466 | <term><command>ssh-copy-id</command></term>
|
---|
| 467 | <listitem>
|
---|
| 468 | <para>
|
---|
| 469 | is a script that enables logins on remote machine using local keys.
|
---|
| 470 | </para>
|
---|
| 471 | <indexterm zone="openssh ssh-copy-id">
|
---|
| 472 | <primary sortas="b-ssh-copy-id">ssh-copy-id</primary>
|
---|
| 473 | </indexterm>
|
---|
| 474 | </listitem>
|
---|
| 475 | </varlistentry>
|
---|
| 476 |
|
---|
[e4e0d060] | 477 | <varlistentry id="ssh-keygen">
|
---|
| 478 | <term><command>ssh-keygen</command></term>
|
---|
| 479 | <listitem>
|
---|
[3a37311] | 480 | <para>
|
---|
| 481 | is a key generation tool.
|
---|
| 482 | </para>
|
---|
[e4e0d060] | 483 | <indexterm zone="openssh ssh-keygen">
|
---|
| 484 | <primary sortas="b-ssh-keygen">ssh-keygen</primary>
|
---|
| 485 | </indexterm>
|
---|
| 486 | </listitem>
|
---|
| 487 | </varlistentry>
|
---|
| 488 |
|
---|
| 489 | <varlistentry id="ssh-keyscan">
|
---|
| 490 | <term><command>ssh-keyscan</command></term>
|
---|
| 491 | <listitem>
|
---|
[3a37311] | 492 | <para>
|
---|
| 493 | is a utility for gathering public host keys from a number of hosts.
|
---|
| 494 | </para>
|
---|
[e4e0d060] | 495 | <indexterm zone="openssh ssh-keyscan">
|
---|
| 496 | <primary sortas="b-ssh-keyscan">ssh-keyscan</primary>
|
---|
| 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
| 500 |
|
---|
| 501 | </variablelist>
|
---|
| 502 | </sect2>
|
---|
| 503 | </sect1>
|
---|