Difference between revisions of "OpenSSH"
From CBLFS
Jump to navigationJump to searchm (I put telnet in bold as it should be.) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/openssh- | + | | http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/openssh-{{OpenSSH-Version}}.tar.gz |
|} | |} | ||
Line 51: | Line 51: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/openssh- | + | install -v -m755 -d /usr/share/doc/openssh-{{OpenSSH-Version}} && |
install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | ||
− | /usr/share/doc/openssh- | + | /usr/share/doc/openssh-{{OpenSSH-Version}} |
== Multilib == | == Multilib == | ||
Line 70: | Line 70: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/openssh- | + | install -v -m755 -d /usr/share/doc/openssh-{{OpenSSH-Version}} && |
install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | ||
− | /usr/share/doc/openssh- | + | /usr/share/doc/openssh-{{OpenSSH-Version}} |
=== N32 === | === N32 === | ||
Line 88: | Line 88: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/openssh- | + | install -v -m755 -d /usr/share/doc/openssh-{{OpenSSH-Version}} && |
install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | ||
− | /usr/share/doc/openssh- | + | /usr/share/doc/openssh-{{OpenSSH-Version}} |
=== 64Bit === | === 64Bit === | ||
Line 104: | Line 104: | ||
make install && | make install && | ||
− | install -v -m755 -d /usr/share/doc/openssh- | + | install -v -m755 -d /usr/share/doc/openssh-{{OpenSSH-Version}} && |
install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ | ||
− | /usr/share/doc/openssh- | + | /usr/share/doc/openssh-{{OpenSSH-Version}} |
== Configuring == | == Configuring == |
Revision as of 16:15, 17 December 2006
Download Source: | http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/openssh-6.3p1.tar.gz |
---|
Contents
Introduction to OpenSSH
The OpenSSH package contains ssh clients and the sshd daemon. This is useful for encrypting authentication and subsequent traffic over a network. The ssh client is a secure replacement for telnet.
Note: If you only want to use the client, you do not need to run the server and so do not need the startup script and links. In accordance with good practice, only run the server if you actually need it (and if you don't know whether you need it or not, it's likely that you don't!).
Dependencies
Required
Optional
OpenSSH User/Group & PrivSep Dir
groupadd -g 50 sshd && useradd -c 'sshd PrivSep' -d /var/lib/sshd -g sshd -s /bin/false -u 50 sshd && install -v -m700 -d /var/lib/sshd && chown -v root:sys /var/lib/sshd
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/sbin --with-md5-passwords \ --with-privsep-path=/var/lib/ssh && make
Install the package
make install && install -v -m755 -d /usr/share/doc/openssh-6.3p1 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-6.3p1
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/sbin --with-md5-passwords \ --with-privsep-path=/var/lib/ssh && make
Install the package
make install && install -v -m755 -d /usr/share/doc/openssh-6.3p1 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-6.3p1
N32
Compile the package:
install -v -m700 -d /var/lib/sshd && chown -v root:sys /var/lib/sshd && CC="gcc ${BUILDN32} ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/sbin --libdir=/usr/lib32 --with-md5-passwords \ --with-privsep-path=/var/lib/ssh && make
Install the package
make install && install -v -m755 -d /usr/share/doc/openssh-6.3p1 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-6.3p1
64Bit
Compile the package
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc/ssh \ --libexecdir=/usr/sbin --with-md5-passwords \ --with-privsep-path=/var/lib/ssh && make
Install the package
make install && install -v -m755 -d /usr/share/doc/openssh-6.3p1 && install -v -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG \ /usr/share/doc/openssh-6.3p1
Configuring
BootScript
Install the init script included in the blfs-bootscripts package.
make install-sshd