10.0
10.1
11.0
11.1
11.2
11.3
6.0
6.1
6.2
6.2.0
6.2.0-rc1
6.2.0-rc2
6.3
6.3-rc1
6.3-rc2
6.3-rc3
7.10
7.4
7.5
7.6
7.6-blfs
7.6-systemd
7.7
7.8
7.9
8.0
8.1
8.2
8.3
8.4
9.0
9.1
basic
bdubbs/svn
elogind
gnome
kde5-13430
kde5-14269
kde5-14686
ken/inkscape-core-mods
krejzi/svn
lazarus
nosym
perl-modules
plabs/python-mods
qt5new
systemd-11177
systemd-13485
trunk
upgradedb
v5_1
v5_1-pre1
xry111/intltool
xry111/soup3
xry111/test-20220226
Last change
on this file since 4fa49aa was 4fa49aa, checked in by Tushar Teredesai <tushar@…>, 19 years ago |
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
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[f45b1953] | 1 | <sect2>
|
---|
[1708d1e9] | 2 | <title>Installation of <application>Open<acronym>SSH</acronym></application></title>
|
---|
[f45b1953] | 3 |
|
---|
[1708d1e9] | 4 | <para><application>Open<acronym>SSH</acronym></application> runs as two
|
---|
| 5 | processes when connecting to other
|
---|
[a4be499] | 6 | computers. The first process is a privileged process and controls the
|
---|
[f45b1953] | 7 | issuance of privileges as necessary. The second process communicates
|
---|
| 8 | with the network. Additional installation steps are necessary to set up
|
---|
[0a820fc] | 9 | the proper environment which are performed by the following
|
---|
[f45b1953] | 10 | commands:</para>
|
---|
| 11 |
|
---|
[2da087b] | 12 | <screen><userinput><command>mkdir /var/empty &&
|
---|
[f45b1953] | 13 | chown root:sys /var/empty &&
|
---|
| 14 | groupadd sshd &&
|
---|
[2da087b] | 15 | useradd -c 'sshd privsep' -d /var/empty -g sshd -s /bin/false sshd</command></userinput></screen>
|
---|
[f45b1953] | 16 |
|
---|
[4fa49aa] | 17 | <para><application>OpenSSH</application> is very sensitive to changes in the
|
---|
| 18 | linked <application>OpenSSL</application> libraries. If you recompile
|
---|
| 19 | <application>OpenSSL</application>, <application>OpenSSH</application> may
|
---|
| 20 | fail to startup. To avoid this, it is possible to link to
|
---|
| 21 | <application>OpenSSL</application> libraries. If you prefer this, execute the
|
---|
| 22 | following commands:</para>
|
---|
| 23 |
|
---|
| 24 | <screen><userinput><command>sed -i "s:-lcrypto:/usr/lib/libcrypto.a:g" configure</command></userinput></screen>
|
---|
| 25 |
|
---|
[1708d1e9] | 26 | <para>Install <application>Open<acronym>SSH</acronym></application> by running
|
---|
| 27 | the following commands:</para>
|
---|
[f45b1953] | 28 |
|
---|
[2da087b] | 29 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/ssh \
|
---|
[b36e2197] | 30 | --libexecdir=/usr/sbin --with-md5-passwords &&
|
---|
[f45b1953] | 31 | make &&
|
---|
[b36e2197] | 32 | make install</command></userinput></screen>
|
---|
[f45b1953] | 33 |
|
---|
| 34 | </sect2>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.