[fa0686e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
| 6 | <sect1 id="ch-system-openssh" role="wrap" arch="raq2">
|
---|
| 7 | <title>OpenSSH-&openssh-version;</title>
|
---|
| 8 | <?dbhtml filename="openssh.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-openssh"><primary sortas="a-openssh">OpenSSH</primary></indexterm>
|
---|
| 11 |
|
---|
| 12 | <sect2 role="package"><title/>
|
---|
| 13 | <para> The OpenSSH package contains ssh clients and the sshd daemon. This is useful
|
---|
| 14 | for encrypting authentication and subsequent traffic over a network..</para>
|
---|
| 15 |
|
---|
| 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
| 19 | <seglistitem><seg>0.4 SBU</seg><seg>13.3 MB</seg></seglistitem>
|
---|
| 20 | </segmentedlist>
|
---|
| 21 |
|
---|
| 22 | <segmentedlist>
|
---|
| 23 | <segtitle>OpenSSH installation depends on</segtitle>
|
---|
| 24 | <seglistitem><seg>OpenSSL</seg></seglistitem>
|
---|
| 25 | </segmentedlist>
|
---|
| 26 | </sect2>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="installation">
|
---|
| 29 | <title>Installation of OpenSSH</title>
|
---|
| 30 |
|
---|
| 31 | <para>Need to create a chroot-jail for OpenSSH:</para>
|
---|
| 32 |
|
---|
| 33 | <screen><userinput>mkdir /var/empty
|
---|
| 34 | chown root:sys /var/empty
|
---|
| 35 | groupadd sshd
|
---|
| 36 | useradd -c 'sshd privsep' -d /var/empty -g sshd -s /bin/false sshd</userinput></screen>
|
---|
| 37 |
|
---|
| 38 | <para>Prepare OpenSSH for compilation:</para>
|
---|
| 39 |
|
---|
| 40 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/ssh \
|
---|
| 41 | --libexecdir=/usr/sbin --with-md5-passwords</userinput></screen>
|
---|
| 42 |
|
---|
| 43 | <para>Compile the package:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput>make</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para>Install the package:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput>make install</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | <para>Make OpenSSH usable by the root user.</para>
|
---|
| 52 |
|
---|
| 53 | <screen><userinput>echo "PermitRootLogin yes" >> /etc/ssh/sshd_config</userinput></screen>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2 id="contents-openssh" role="content"><title>Contents of OpenSSH</title>
|
---|
| 58 |
|
---|
| 59 | <segmentedlist>
|
---|
| 60 | <segtitle>Installed programs</segtitle>
|
---|
| 61 | <seglistitem><seg>ssh, sshd, ssh-agent, ssh-add, sftp, scp, ssh-keygen,
|
---|
| 62 | sftp-server and ssh-keyscan</seg></seglistitem>
|
---|
| 63 | </segmentedlist>
|
---|
| 64 |
|
---|
| 65 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 |
|
---|
| 68 | <varlistentry id="ssh">
|
---|
| 69 | <term><command>ssh</command></term>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>The basic rlogin/rsh-like client program</para>
|
---|
| 72 | <indexterm zone="ch-system-openssh ssh"><primary sortas="b-ssh">ssh</primary></indexterm>
|
---|
| 73 | </listitem>
|
---|
| 74 | </varlistentry>
|
---|
| 75 |
|
---|
| 76 | <varlistentry id="sshd">
|
---|
| 77 | <term><command>ssh</command></term>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>The daemon that listens for ssh login requests</para>
|
---|
| 80 | <indexterm zone="ch-system-openssh sshd"><primary sortas="b-ssh">sshd</primary></indexterm>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 |
|
---|
| 84 | <varlistentry id="ssh-agent">
|
---|
| 85 | <term><command>ssh-agent</command></term>
|
---|
| 86 | <listitem>
|
---|
| 87 | <para>An authentication agent that can store private keys</para>
|
---|
| 88 | <indexterm zone="ch-system-openssh ssh-agent"><primary sortas="b-ssh-agent">ssh-agent</primary></indexterm>
|
---|
| 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
| 91 |
|
---|
| 92 | <varlistentry id="ssh-add">
|
---|
| 93 | <term><command>ssh-add</command></term>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>Tool which adds keys to the ssh-agent</para>
|
---|
| 96 | <indexterm zone="ch-system-openssh ssh-add"><primary sortas="b-ssh-add">ssh-add</primary></indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
| 100 | <varlistentry id="sftp">
|
---|
| 101 | <term><command>sftp</command></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>FTP-like program that works over SSH1 and SSH2 protocols</para>
|
---|
| 104 | <indexterm zone="ch-system-openssh sftp"><primary sortas="b-sftp">sftp</primary></indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="scp">
|
---|
| 109 | <term><command>scp</command></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>File copy program that acts like rcp</para>
|
---|
| 112 | <indexterm zone="ch-system-openssh scp"><primary sortas="b-scp">scp</primary></indexterm>
|
---|
| 113 | </listitem>
|
---|
| 114 | </varlistentry>
|
---|
| 115 |
|
---|
| 116 | <varlistentry id="ssh-keygen">
|
---|
| 117 | <term><command>ssh-keygen</command></term>
|
---|
| 118 | <listitem>
|
---|
| 119 | <para>Key generation tool</para>
|
---|
| 120 | <indexterm zone="ch-system-openssh ssh-keygen"><primary sortas="b-ssh-keygen">ssh-keygen</primary></indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="sftp-server">
|
---|
| 125 | <term><command>sftp-server</command></term>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>SFTP server subsystem</para>
|
---|
| 128 | <indexterm zone="ch-system-openssh sftp-server"><primary sortas="b-sftp-server">sftp-server</primary></indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="ssh-keyscan">
|
---|
| 133 | <term><command>ssh-keyscan</command></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>Utility for gathering public host keys from a number of hosts</para>
|
---|
| 136 | <indexterm zone="ch-system-openssh ssh-keyscan"><primary sortas="b-ssh-keyscan">ssh-keyscan</primary></indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
| 139 |
|
---|
| 140 | </variablelist>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | </sect1>
|
---|