2002-07-08 04:28:42 +08:00
|
|
|
<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
|
2002-09-19 08:26:49 +08:00
|
|
|
the proper environment which are performed by the following
|
2002-07-08 04:28:42 +08:00
|
|
|
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>
|
|
|
|
|