glfs/server/other/openssh/openssh-inst.xml
Tushar Teredesai 4fa49aaa81 Updated to apache 20.48, minor fixes to openssh and db
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1760 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-02-01 20:16:52 +00:00

35 lines
1.5 KiB
XML

<sect2>
<title>Installation of <application>Open<acronym>SSH</acronym></application></title>
<para><application>Open<acronym>SSH</acronym></application> runs as two
processes when connecting to other
computers. The first process is a privileged process and controls the
issuance of privileges as necessary. The second process communicates
with the network. Additional installation steps are necessary to set up
the proper environment which are performed by the following
commands:</para>
<screen><userinput><command>mkdir /var/empty &amp;&amp;
chown root:sys /var/empty &amp;&amp;
groupadd sshd &amp;&amp;
useradd -c 'sshd privsep' -d /var/empty -g sshd -s /bin/false sshd</command></userinput></screen>
<para><application>OpenSSH</application> is very sensitive to changes in the
linked <application>OpenSSL</application> libraries. If you recompile
<application>OpenSSL</application>, <application>OpenSSH</application> may
fail to startup. To avoid this, it is possible to link to
<application>OpenSSL</application> libraries. If you prefer this, execute the
following commands:</para>
<screen><userinput><command>sed -i "s:-lcrypto:/usr/lib/libcrypto.a:g" configure</command></userinput></screen>
<para>Install <application>Open<acronym>SSH</acronym></application> by running
the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/ssh \
--libexecdir=/usr/sbin --with-md5-passwords &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>