mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-07 01:27:16 +08:00
a8fccf1032
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@47 af4574ff-66df-0310-9fd7-8a98e5e911e0
25 lines
846 B
XML
25 lines
846 B
XML
<sect2>
|
|
<title>Installation of OpenSSH</title>
|
|
|
|
<para>OpenSSH runs as two processes when connecting to other
|
|
computers. The first process is a priviledged 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 preformed by the following
|
|
commands:</para>
|
|
|
|
<para><screen><userinput>mkdir /var/empty &&
|
|
chown root:sys /var/empty &&
|
|
groupadd sshd &&
|
|
useradd -g sshd sshd</userinput></screen></para>
|
|
|
|
<para>Install OpenSSH by running the following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/ssh \
|
|
--libexecdir=/usr/sbin --with-md5-passwords &&
|
|
make &&
|
|
make install </userinput></screen></para>
|
|
|
|
</sect2>
|
|
|