4 You will need working installations of Zlib and OpenSSL.
7 http://www.cdrom.com/pub/infozip/zlib/
10 http://www.openssl.org/
12 OpenSSH can utilise Pluggable Authentication Modules (PAM) if your system
13 supports it. PAM is standard on Redhat and Debian Linux and on Solaris.
16 http://www.kernel.org/pub/linux/libs/pam/
18 If you wish to build the GNOME passphrase requestor, you will need the GNOME
19 libraries and headers.
24 If you are planning to use OpenSSH on a Unix which lacks a Kernel random
25 number generator (/dev/urandom), you will need to install the Entropy
26 Gathering Daemon (or similar). You will also need to specify the
27 --with-egd-pool option to ./configure.
30 http://www.lothar.com/tech/crypto/
33 2. Building / Installation
34 --------------------------
36 To install OpenSSH with default options:
42 This will install the OpenSSH binaries in /usr/local/bin, configuration files
43 in /usr/local/etc, the server in /usr/local/sbin, etc. To specify a different
44 installation prefix, use the --prefix option to configure:
46 ./configure --prefix=/opt
50 Will install OpenSSH in /opt/{bin,etc,lib,sbin}. You can also override
51 specific paths, for example:
53 ./configure --prefix=/opt --sysconfdir=/etc/ssh
57 This will install the binaries in /opt/{bin,lib,sbin}, but will place the
58 configuration files in /etc/ssh.
60 There are a few other options to the configure script:
62 --enable-gnome-askpass will build the GNOME passphrase dialog. You need a
63 working installation of GNOME, including the development headers, for this
66 --with-random=/some/file allows you to specify an alternate source of
67 random numbers (the default is /dev/urandom). Unless you are absolutly
68 sure of what you are doing, it is best to leave this alone.
70 --with-egd-pool=/some/file allows you to enable Entropy Gathering Daemon
71 support and to specify a EGD pool socket. You will need to use this if your
72 Unix does not support the /dev/urandom device (or similar).
74 --without-askpass will disable X11 password requestor support in ssh-add
80 The runtime configuration files are installed by in ${prefix}/etc or
81 whatever you specified as your --sysconfdir (/usr/local/etc by default).
83 The default configuration should be instantly usable, though you should
84 review it to ensure that it matches your security requirements.
86 For more information on configuration, please refer to the manual pages
87 for sshd, ssh and ssh-agent.