]> andersk Git - openssh.git/blame - INSTALL
- Added non-PAM MD5 password support patch from Tudor Bosman <tudorb@jm.nu>
[openssh.git] / INSTALL
CommitLineData
8bc7973f 11. Prerequisites
2----------------
3
4You will need working installations of Zlib and OpenSSL.
5
6Zlib:
7http://www.cdrom.com/pub/infozip/zlib/
8
9OpenSSL:
10http://www.openssl.org/
11
12OpenSSH can utilise Pluggable Authentication Modules (PAM) if your system
13supports it. PAM is standard on Redhat and Debian Linux and on Solaris.
14
15PAM:
16http://www.kernel.org/pub/linux/libs/pam/
17
18If you wish to build the GNOME passphrase requestor, you will need the GNOME
19libraries and headers.
20
21GNOME:
22http://www.gnome.org/
23
24If you are planning to use OpenSSH on a Unix which lacks a Kernel random
25number generator (/dev/urandom), you will need to install the Entropy
26Gathering Daemon (or similar). You will also need to specify the
27--with-egd-pool option to ./configure.
28
29EGD:
30http://www.lothar.com/tech/crypto/
31
32
332. Building / Installation
34--------------------------
35
36To install OpenSSH with default options:
37
38./configure
39make
40make install
41
42This will install the OpenSSH binaries in /usr/local/bin, configuration files
43in /usr/local/etc, the server in /usr/local/sbin, etc. To specify a different
44installation prefix, use the --prefix option to configure:
45
46./configure --prefix=/opt
47make
48make install
49
50Will install OpenSSH in /opt/{bin,etc,lib,sbin}. You can also override
51specific paths, for example:
52
53./configure --prefix=/opt --sysconfdir=/etc/ssh
54make
55make install
56
57This will install the binaries in /opt/{bin,lib,sbin}, but will place the
58configuration files in /etc/ssh.
59
60There are a few other options to the configure script:
61
62--enable-gnome-askpass will build the GNOME passphrase dialog. You need a
63working installation of GNOME, including the development headers, for this
64to work.
65
66--with-random=/some/file allows you to specify an alternate source of
67random numbers (the default is /dev/urandom). Unless you are absolutly
68sure of what you are doing, it is best to leave this alone.
69
70--with-egd-pool=/some/file allows you to enable Entropy Gathering Daemon
71support and to specify a EGD pool socket. You will need to use this if your
72Unix does not support the /dev/urandom device (or similar).
73
045672f9 74--without-askpass will disable X11 password requestor support in ssh-add
75
8bc7973f 76
773. Configuration
78----------------
79
80The runtime configuration files are installed by in ${prefix}/etc or
81whatever you specified as your --sysconfdir (/usr/local/etc by default).
82
83The default configuration should be instantly usable, though you should
84review it to ensure that it matches your security requirements.
85
3e807d1e 86To generate a host key, issue the following command: (replacing
87/etc/ssh/ssh_host_key with an appropriate path)
88
89/usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ''
90
8bc7973f 91For more information on configuration, please refer to the manual pages
92for sshd, ssh and ssh-agent.
93
This page took 0.050307 seconds and 5 git commands to generate.