Darren Tucker 20e5e8ba9c Explicitly test for broken strnvis.
NetBSD added an strnvis and unfortunately made it incompatible with the
existing one in OpenBSD and Linux's libbsd (the former having existed
for over ten years). Despite this incompatibility being reported during
development (see http://gnats.netbsd.org/44977) they still shipped it.
Even more unfortunately FreeBSD and later MacOS picked up this incompatible
implementation.  Try to detect this mess, and assume the only safe option
if we're cross compiling.

OpenBSD 2.9 (2001): strnvis(char *dst, const char *src, size_t dlen, int flag);
NetBSD 6.0 (2012):  strnvis(char *dst, size_t dlen, const char *src, int flag);

ok djm@
2016-08-02 12:16:34 +10:00
2016-07-24 21:50:13 +10:00
2016-08-02 10:01:52 +10:00
2016-07-18 17:12:22 +10:00
2016-07-08 13:50:03 +10:00
2015-07-15 15:36:54 +10:00
2015-01-16 18:24:48 +11:00
KNF
2016-07-27 08:25:42 +10:00
2015-01-13 19:38:18 +11:00
2016-05-02 20:35:04 +10:00
2015-01-20 09:14:16 +11:00
2016-03-08 06:20:35 +11:00
2016-01-27 16:54:26 +11:00
2016-05-02 20:35:04 +10:00
2015-10-25 11:42:04 +11:00
2016-05-19 17:48:34 +10:00
2016-03-08 06:20:35 +11:00
2015-01-14 21:34:20 +11:00
2016-07-22 14:07:08 +10:00
2016-07-18 09:33:25 +10:00
2016-07-22 13:36:40 +10:00
2016-03-08 06:20:35 +11:00
2016-03-08 06:20:35 +11:00
2015-01-29 10:18:56 +11:00
2016-06-15 12:06:33 +10:00
2016-05-05 00:10:03 +10:00
2015-12-07 12:38:58 +11:00
2015-12-07 12:38:58 +11:00
2016-04-13 10:44:06 +10:00
2015-01-09 00:17:12 +11:00
2015-09-16 17:52:07 +10:00
2015-01-15 02:28:00 +11:00
2016-03-08 06:20:35 +11:00
2016-03-08 06:20:35 +11:00
2016-07-22 13:36:40 +10:00
2015-07-01 12:29:43 +10:00
2015-01-14 21:32:54 +11:00
2015-01-14 21:32:54 +11:00
2015-07-15 15:36:55 +10:00
2016-07-23 13:24:20 +10:00
2016-01-14 10:06:01 +11:00
2016-06-06 11:25:37 +10:00
2015-05-27 13:47:19 +10:00
2015-01-26 23:58:53 +11:00
2015-01-20 09:13:01 +11:00
2016-05-02 20:39:32 +10:00
2016-05-02 20:39:32 +10:00
2015-05-08 13:32:55 +10:00
2014-12-22 09:32:29 +11:00
2015-05-10 11:55:48 +10:00
2015-08-21 13:43:25 +10:00
2015-05-08 16:46:01 +10:00
2015-02-17 09:32:31 +11:00
2015-05-10 11:38:04 +10:00
2015-05-22 20:02:17 +10:00
2015-03-27 12:00:47 +11:00
2015-05-10 11:38:04 +10:00
2015-02-17 09:32:31 +11:00
2016-08-02 11:06:23 +10:00
2016-07-15 20:02:27 +10:00
2016-05-02 20:39:32 +10:00
2016-05-02 20:35:04 +10:00
2015-01-27 00:00:57 +11:00
2015-12-07 12:38:58 +11:00
2016-05-02 20:39:32 +10:00
2016-05-02 20:39:32 +10:00
2016-05-02 20:39:32 +10:00
2015-01-20 09:19:39 +11:00
2015-01-27 00:00:57 +11:00
2015-12-07 12:38:58 +11:00
2015-01-20 09:19:39 +11:00
2015-05-27 13:47:19 +10:00
2016-06-14 13:43:59 +10:00
2016-05-02 20:35:05 +10:00
2015-12-07 12:38:58 +11:00
2016-01-07 20:13:33 +11:00
2016-01-07 20:13:32 +11:00
2016-07-15 20:54:55 +10:00
2016-07-15 20:54:55 +10:00
2015-12-15 13:59:12 +11:00
2016-07-08 13:50:03 +10:00
2016-07-08 13:50:03 +10:00
2015-05-10 11:38:04 +10:00
2015-05-10 11:38:04 +10:00
2016-07-15 14:20:10 +10:00
2016-07-15 14:20:10 +10:00
2015-01-26 23:58:53 +11:00
2016-03-04 15:12:17 +11:00
2016-03-08 06:20:35 +11:00
2016-07-22 14:06:27 +10:00
2015-01-20 09:13:01 +11:00
2015-01-15 21:39:14 +11:00
2015-01-15 21:39:14 +11:00
2016-06-08 11:39:31 +10:00
2016-05-02 20:39:32 +10:00
2016-01-27 16:54:10 +11:00
2016-03-08 06:20:35 +11:00
2015-07-15 15:36:21 +10:00
2016-07-22 13:36:40 +10:00
2016-03-08 06:20:35 +11:00
2016-04-01 23:57:14 +11:00
2016-07-08 13:46:59 +10:00
2015-01-15 02:22:18 +11:00
2016-04-08 17:36:29 +10:00
2016-05-19 17:48:36 +10:00
2016-05-03 20:29:14 +10:00
2016-05-04 00:55:21 +10:00
2015-01-30 12:17:07 +11:00
2015-07-17 13:36:29 +10:00
2016-07-22 13:36:40 +10:00
2016-07-15 14:20:10 +10:00
2016-07-24 21:50:13 +10:00
2015-12-11 13:23:14 +11:00
2015-03-23 17:08:12 +11:00
2016-07-17 14:21:09 +10:00
2016-06-06 11:27:38 +10:00
2016-06-24 13:35:28 +10:00
2015-07-15 15:38:02 +10:00
2016-04-08 21:21:27 +10:00
2016-03-08 06:20:35 +11:00
2016-06-06 11:27:38 +10:00
2015-01-26 23:58:53 +11:00
2015-01-15 02:22:18 +11:00
2015-01-15 02:22:18 +11:00
2016-02-16 10:44:00 +11:00
2014-12-11 19:17:24 +11:00
2016-07-17 14:21:09 +10:00
2016-07-22 14:06:27 +10:00
2016-05-19 17:48:34 +10:00
2016-05-19 17:48:34 +10:00
2016-05-19 17:48:34 +10:00
2015-02-24 06:30:29 +11:00
2016-02-23 12:44:19 +11:00
2016-07-23 13:24:20 +10:00
2015-04-01 10:00:27 +11:00
2016-02-16 10:44:00 +11:00
2015-11-16 11:31:40 +11:00
2016-04-21 16:30:11 +10:00
2016-04-21 16:30:11 +10:00
2016-04-21 16:30:11 +10:00
2016-06-24 13:35:28 +10:00
2016-05-02 20:35:05 +10:00
2015-11-09 14:25:41 +11:00
2016-05-02 20:39:32 +10:00
2016-02-18 09:24:40 +11:00
2016-02-16 10:44:00 +11:00
2015-12-11 13:23:14 +11:00
2016-02-16 10:44:00 +11:00
2016-02-12 11:23:05 +11:00
2015-01-15 21:39:14 +11:00
2016-04-21 16:30:11 +10:00
2016-07-17 14:21:09 +10:00
2016-07-17 14:21:38 +10:00
2015-12-18 14:49:32 +11:00
2016-01-13 10:48:11 +11:00
2016-05-02 20:35:04 +10:00
2016-01-13 10:48:11 +11:00
2016-05-02 20:35:04 +10:00
2015-11-16 11:31:39 +11:00
2016-07-23 13:24:20 +10:00
2016-01-27 16:54:10 +11:00
2015-11-16 11:31:39 +11:00
2016-07-14 11:27:56 +10:00
2016-07-22 13:36:40 +10:00
2016-02-18 09:24:40 +11:00
2016-06-06 11:25:38 +10:00
2015-09-16 17:52:09 +10:00
2015-01-30 12:18:59 +11:00
2016-06-24 13:35:28 +10:00
2016-05-02 20:35:05 +10:00
2016-01-07 20:13:31 +11:00
2015-08-02 19:59:25 +10:00
2016-05-19 17:48:34 +10:00
2016-05-03 20:04:42 +10:00
2016-07-11 17:26:49 +10:00
2016-06-06 11:27:38 +10:00
2015-04-29 18:15:24 +10:00
2016-07-24 21:47:18 +10:00
2016-02-16 10:44:00 +11:00

See http://www.openssh.com/txt/release-7.3p1 for the release notes.

Please read http://www.openssh.com/report.html for bug reporting
instructions and note that we do not use Github for bug reporting or
patch/pull-request management.

- A Japanese translation of this document and of the OpenSSH FAQ is
- available at http://www.unixuser.org/~haruyama/security/openssh/index.html
- Thanks to HARUYAMA Seigo <haruyama@unixuser.org>

This is the port of OpenBSD's excellent OpenSSH[0] to Linux and other
Unices.

OpenSSH is based on the last free version of Tatu Ylonen's sample
implementation with all patent-encumbered algorithms removed (to
external libraries), all known security bugs fixed, new features
reintroduced and many other clean-ups.  OpenSSH has been created by
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt,
and Dug Song. It has a homepage at http://www.openssh.com/

This port consists of the re-introduction of autoconf support, PAM
support, EGD[1]/PRNGD[2] support and replacements for OpenBSD library
functions that are (regrettably) absent from other unices. This port
has been best tested on AIX, Cygwin, HP-UX, Linux, MacOS/X,
NetBSD, OpenBSD, OpenServer, Solaris, Unicos, and UnixWare.

This version actively tracks changes in the OpenBSD CVS repository.

The PAM support is now more functional than the popular packages of
commercial ssh-1.2.x. It checks "account" and "session" modules for
all logins, not just when using password authentication.

OpenSSH depends on Zlib[3], OpenSSL[4] and optionally PAM[5].

There is now several mailing lists for this port of OpenSSH. Please
refer to http://www.openssh.com/list.html for details on how to join.

Please send bug reports and patches to the mailing list
openssh-unix-dev@mindrot.org. The list is open to posting by
unsubscribed users.Code contribution are welcomed, but please follow the 
OpenBSD style guidelines[6].

Please refer to the INSTALL document for information on how to install
OpenSSH on your system. There are a number of differences between this
port of OpenSSH and F-Secure SSH 1.x, please refer to the OpenSSH FAQ[7]
for details and general tips.

Damien Miller <djm@mindrot.org>

Miscellania -

This version of OpenSSH is based upon code retrieved from the OpenBSD
CVS repository which in turn was based on the last free sample
implementation released by Tatu Ylonen.

References -

[0] http://www.openssh.com/faq.html
[1] http://www.lothar.com/tech/crypto/
[2] http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html
[3] http://www.gzip.org/zlib/
[4] http://www.openssl.org/
[5] http://www.openpam.org
    http://www.kernel.org/pub/linux/libs/pam/ 
    (PAM also is standard on Solaris and HP-UX 11)
[6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9
[7] http://www.openssh.com/faq.html

$Id: README,v 1.87 2014/08/10 01:35:06 djm Exp $
Description
Portable OpenSSH, all Win32-OpenSSH releases and wiki are managed at https://github.com/powershell/Win32-OpenSSH
Readme 87 MiB
Languages
C 78.3%
Shell 6.7%
PowerShell 5.3%
Roff 4.9%
M4 2.4%
Other 2.4%