diff options
author | Colin Watson <cjwatson@debian.org> | 2019-06-05 06:41:44 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-06-09 22:09:07 +0100 |
commit | 865a97e05b6aab1619e1c8eeb33ccb8f9a9e48d3 (patch) | |
tree | 7bb2128eb663180bacfabca88f26d26bf0733824 /README.md | |
parent | ba627ba172d6649919baedff5ba2789610da382a (diff) | |
parent | 7d50f9e5be88179325983a1f58c9d51bb58f025a (diff) |
New upstream release (8.0p1)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 000000000..4e2624161 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,74 @@ | |||
1 | # Portable OpenSSH | ||
2 | |||
3 | OpenSSH is a complete implementation of the SSH protocol (version 2) for secure remote login, command execution and file transfer. It includes a client ``ssh`` and server ``sshd``, file transfer utilities ``scp`` and ``sftp`` as well as tools for key generation (``ssh-keygen``), run-time key storage (``ssh-agent``) and a number of supporting programs. | ||
4 | |||
5 | This is a port of OpenBSD's [OpenSSH](https://openssh.com) to most Unix-like operating systems, including Linux, OS X and Cygwin. Portable OpenSSH polyfills OpenBSD APIs that are not available elsewhere, adds sshd sandboxing for more operating systems and includes support for OS-native authentication and auditing (e.g. using PAM). | ||
6 | |||
7 | ## Documentation | ||
8 | |||
9 | The official documentation for OpenSSH are the man pages for each tool: | ||
10 | |||
11 | * [ssh(1)](https://man.openbsd.org/ssh.1) | ||
12 | * [sshd(8)](https://man.openbsd.org/sshd.8) | ||
13 | * [ssh-keygen(1)](https://man.openbsd.org/ssh-keygen.1) | ||
14 | * [ssh-agent(1)](https://man.openbsd.org/ssh-agent.1) | ||
15 | * [scp(1)](https://man.openbsd.org/scp.1) | ||
16 | * [sftp(1)](https://man.openbsd.org/sftp.1) | ||
17 | * [ssh-keyscan(8)](https://man.openbsd.org/ssh-keyscan.8) | ||
18 | * [sftp-server(8)](https://man.openbsd.org/sftp-server.8) | ||
19 | |||
20 | ## Stable Releases | ||
21 | |||
22 | Stable release tarballs are available from a number of [download mirrors](https://www.openssh.com/portable.html#downloads). We recommend the use of a stable release for most users. Please read the [release notes](https://www.openssh.com/releasenotes.html) for details of recent changes and potential incompatibilities. | ||
23 | |||
24 | ## Building Portable OpenSSH | ||
25 | |||
26 | ### Dependencies | ||
27 | |||
28 | Portable OpenSSH is built using autoconf and make. It requires a working C compiler, standard library and headers, as well as [zlib](https://www.zlib.net/) and ``libcrypto`` from either [LibreSSL](https://www.libressl.org/) or [OpenSSL](https://www.openssl.org) to build. Certain platforms and build-time options may require additional dependencies. | ||
29 | |||
30 | ### Building a release | ||
31 | |||
32 | Releases include a pre-built copy of the ``configure`` script and may be built using: | ||
33 | |||
34 | ``` | ||
35 | tar zxvf openssh-X.Y.tar.gz | ||
36 | cd openssh | ||
37 | ./configure # [options] | ||
38 | make && make tests | ||
39 | ``` | ||
40 | |||
41 | See the [Build-time Customisation](#build-time-customisation) section below for configure options. If you plan on installing OpenSSH to your system, then you will usually want to specify destination paths. | ||
42 | |||
43 | ### Building from git | ||
44 | |||
45 | If building from git, you'll need [autoconf](https://www.gnu.org/software/autoconf/) installed to build the ``configure`` script. The following commands will check out and build portable OpenSSH from git: | ||
46 | |||
47 | ``` | ||
48 | git clone https://github.com/openssh/openssh-portable # or https://anongit.mindrot.org/openssh.git | ||
49 | cd openssh-portable | ||
50 | autoreconf | ||
51 | ./configure | ||
52 | make && make tests | ||
53 | ``` | ||
54 | |||
55 | ### Build-time Customisation | ||
56 | |||
57 | There are many build-time customisation options available. All Autoconf destination path flags (e.g. ``--prefix``) are supported (and are usually required if you want to install OpenSSH). | ||
58 | |||
59 | For a full list of available flags, run ``configure --help`` but a few of the more frequently-used ones are described below. Some of these flags will require additional libraries and/or headers be installed. | ||
60 | |||
61 | Flag | Meaning | ||
62 | --- | --- | ||
63 | ``--with-pam`` | Enable [PAM](https://en.wikipedia.org/wiki/Pluggable_authentication_module) support. [OpenPAM](https://www.openpam.org/), [Linux PAM](http://www.linux-pam.org/) and Solaris PAM are supported. | ||
64 | ``--with-libedit`` | Enable [libedit](https://www.thrysoee.dk/editline/) support for sftp. | ||
65 | ``--with-kerberos5`` | Enable Kerberos/GSSAPI support. Both [Heimdal](https://www.h5l.org/) and [MIT](https://web.mit.edu/kerberos/) Kerberos implementations are supported. | ||
66 | ``--with-selinux`` | Enable [SELinux](https://en.wikipedia.org/wiki/Security-Enhanced_Linux) support. | ||
67 | |||
68 | ## Development | ||
69 | |||
70 | Portable OpenSSH development is discussed on the [openssh-unix-dev mailing list](https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev) ([archive mirror](https://marc.info/?l=openssh-unix-dev)). Bugs and feature requests are tracked on our [Bugzilla](https://bugzilla.mindrot.org/). | ||
71 | |||
72 | ## Reporting bugs | ||
73 | |||
74 | _Non-security_ bugs may be reported to the developers via [Bugzilla](https://bugzilla.mindrot.org/) or via the mailing list above. Security bugs should be reported to [openssh@openssh.com](mailto:openssh.openssh.com). | ||