mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 07:57:23 +08:00
2da087bdec
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1095 af4574ff-66df-0310-9fd7-8a98e5e911e0
25 lines
958 B
XML
25 lines
958 B
XML
<sect2>
|
|
<title>Installation of <application>OpenSSH</application></title>
|
|
|
|
<para><application>OpenSSH</application> 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 performed by the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>mkdir /var/empty &&
|
|
chown root:sys /var/empty &&
|
|
groupadd sshd &&
|
|
useradd -c 'sshd privsep' -d /var/empty -g sshd -s /bin/false sshd</command></userinput></screen>
|
|
|
|
<para>Install OpenSSH by running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/ssh \
|
|
--libexecdir=/usr/sbin --with-md5-passwords &&
|
|
make &&
|
|
make install </command></userinput></screen>
|
|
|
|
</sect2>
|
|
|