10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
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
gimp3
gnome
kde5-13430
kde5-14269
kde5-14686
kea
ken/TL2024
ken/inkscape-core-mods
ken/tuningfonts
krejzi/svn
lazarus
lxqt
nosym
perl-modules
plabs/newcss
plabs/python-mods
python3.11
qt5new
rahul/power-profiles-daemon
renodr/vulkan-addition
systemd-11177
systemd-13485
trunk
upgradedb
xry111/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 613c524f was 65df9fca, checked in by Larry Lawrence <larry@…>, 20 years ago |
grammar corrections
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2252 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 |
|
---|
[2da087bd] | 12 | <screen><userinput><command>mkdir /var/empty &&
|
---|
[f45b1953] | 13 | chown root:sys /var/empty &&
|
---|
| 14 | groupadd sshd &&
|
---|
[2da087bd] | 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
|
---|
[65df9fca] | 20 | fail to startup. An alternative is to link against the static <application>OpenSSL</application>
|
---|
[14e31ce3] | 21 | library. To link against the static library, execute the following command:</para>
|
---|
[4fa49aa] | 22 |
|
---|
| 23 | <screen><userinput><command>sed -i "s:-lcrypto:/usr/lib/libcrypto.a:g" configure</command></userinput></screen>
|
---|
| 24 |
|
---|
[1708d1e9] | 25 | <para>Install <application>Open<acronym>SSH</acronym></application> by running
|
---|
| 26 | the following commands:</para>
|
---|
[f45b1953] | 27 |
|
---|
[2da087bd] | 28 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/ssh \
|
---|
[b36e2197] | 29 | --libexecdir=/usr/sbin --with-md5-passwords &&
|
---|
[f45b1953] | 30 | make &&
|
---|
[b36e2197] | 31 | make install</command></userinput></screen>
|
---|
[f45b1953] | 32 |
|
---|
| 33 | </sect2>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.