Installation on Other UNIX Platforms
If pre-compiled binaries from SSH Communications Security are
not available for your particular UNIX or UNIX-like platform
(such as FreeBSD, NetBSD,
BSDI, OpenBSD, OSF/1,
Tru64, or Digital Unix), you can compile
the source code. A list of officially supported platforms is
available on the SSH Web site (http://www.ssh.com/products/ssh/portability.html).
In order to compile the source code, you need the following:
- an ANSI C compiler (
gcc is available from the Free
Software Foundation's GNU project, http://gcc.gnu.org)
- development libraries for your operating system.
On the CD-ROM, the source code is located in the directory
/install/source/.
Copy the source package to your machine.
Then run the following commands:
$ gzip -dc ssh-x.y.z-v.tar.gz | tar -xvf -
$ cd ssh-x.y.z-v
$ ./configure
$ make
# make install
Note: make install must be run as root.
You can enable or disable certain functionality when you compile
SSH Secure Shell. To use the optional functionality, make sure you
use the following syntax:
$ ./configure --[option]
The most common configure options are listed below, but
additional options not listed here are also available. Type
./configure -- help for more information.
-
--prefix=PREFIX Defines the installation directory (default /usr/local)
-
--with-foreign-etcdir=PATH Defines the directory containing non-ssh-specific files (default /etc).
-
--with-etcdir=PATH Defines the directory containing ssh configuration and host key
files (default [FOREIGN_ETCDIR]).
-
--enable-debug Enables debugging (recommended)
-
--disable-X11-forwarding Turns off X11 forwarding (overrides configuration file settings)
-
--disable-tcp-port-forwarding Turns off port forwarding (overrides configuration file settings)
-
--with-ssh-connection-limit=# Defines the maximum number of simultaneous connections allowed
by sshd2 (overrides configuration file settings)
-
--with-serversecurid[=PATH] Compiles in support for SecurID server authentication
-
--with-clientsecurid Compiles in support for SecurID client authentication
-
--with-kerberos5=[KRB_PREFIX] Compiles in Kerberos5 support
-
--with-libwrap[=PATH] Compiles in libwrap (tcp_wrappers) support