aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/auth-rhosts.c
Commit message (Collapse)AuthorAgeFilesLines
* openssh: Update to 9.8p1Ed Maste2025-02-191-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Highlights from the release notes are reproduced below. Some security and bug fixes were previously merged into FreeBSD and have been elided. See the upstream release notes for full details (https://www.openssh.com/releasenotes.html). --- Future deprecation notice ========================= OpenSSH plans to remove support for the DSA signature algorithm in early 2025. Potentially-incompatible changes -------------------------------- * sshd(8): the server will now block client addresses that repeatedly fail authentication, repeatedly connect without ever completing authentication or that crash the server. See the discussion of PerSourcePenalties below for more information. Operators of servers that accept connections from many users, or servers that accept connections from addresses behind NAT or proxies may need to consider these settings. * sshd(8): the server has been split into a listener binary, sshd(8), and a per-session binary "sshd-session". This allows for a much smaller listener binary, as it no longer needs to support the SSH protocol. As part of this work, support for disabling privilege separation (which previously required code changes to disable) and disabling re-execution of sshd(8) has been removed. Further separation of sshd-session into additional, minimal binaries is planned for the future. * sshd(8): several log messages have changed. In particular, some log messages will be tagged with as originating from a process named "sshd-session" rather than "sshd". * ssh-keyscan(1): this tool previously emitted comment lines containing the hostname and SSH protocol banner to standard error. This release now emits them to standard output, but adds a new "-q" flag to silence them altogether. * sshd(8): (portable OpenSSH only) sshd will no longer use argv[0] as the PAM service name. A new "PAMServiceName" sshd_config(5) directive allows selecting the service name at runtime. This defaults to "sshd". bz2101 New features ------------ * sshd(8): sshd(8) will now penalise client addresses that, for various reasons, do not successfully complete authentication. This feature is controlled by a new sshd_config(5) PerSourcePenalties option and is on by default. * ssh(8): allow the HostkeyAlgorithms directive to disable the implicit fallback from certificate host key to plain host keys. Portability ----------- * sshd(8): expose SSH_AUTH_INFO_0 always to PAM auth modules unconditionally. The previous behaviour was to expose it only when particular authentication methods were in use. * ssh(1), ssh-agent(8): allow the presence of the WAYLAND_DISPLAY environment variable to enable SSH_ASKPASS, similarly to the X11 DISPLAY environment variable. GHPR479 --- Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48914
* | ssh: update to OpenSSH 9.2p1Ed Maste2023-02-061-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes are available at https://www.openssh.com/txt/release-9.2 OpenSSH 9.2 contains fixes for two security problems and a memory safety problem. The memory safety problem is not believed to be exploitable. These fixes have already been committed to OpenSSH 9.1 in FreeBSD. Some other notable items from the release notes: * ssh(1): add a new EnableEscapeCommandline ssh_config(5) option that controls whether the client-side ~C escape sequence that provides a command-line is available. Among other things, the ~C command-line could be used to add additional port-forwards at runtime. * sshd(8): add support for channel inactivity timeouts via a new sshd_config(5) ChannelTimeout directive. This allows channels that have not seen traffic in a configurable interval to be automatically closed. Different timeouts may be applied to session, X11, agent and TCP forwarding channels. * sshd(8): add a sshd_config UnusedConnectionTimeout option to terminate client connections that have no open channels for a length of time. This complements the ChannelTimeout option above. * sshd(8): add a -V (version) option to sshd like the ssh client has. * scp(1), sftp(1): add a -X option to both scp(1) and sftp(1) to allow control over some SFTP protocol parameters: the copy buffer length and the number of in-flight requests, both of which are used during upload/download. Previously these could be controlled in sftp(1) only. This makes them available in both SFTP protocol clients using the same option character sequence. * ssh-keyscan(1): allow scanning of complete CIDR address ranges, e.g. "ssh-keyscan 192.168.0.0/24". If a CIDR range is passed, then it will be expanded to all possible addresses in the range including the all-0s and all-1s addresses. bz#976 * ssh(1): support dynamic remote port forwarding in escape command-line's -R processing. bz#3499 MFC after: 1 week Sponsored by: The FreeBSD Foundation
* | ssh: update with post-release V_8_9 branch commitsEd Maste2022-04-131-2/+3
|\| | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* | ssh: update to OpenSSH v8.9p1Ed Maste2022-04-131-14/+24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes are available at https://www.openssh.com/txt/release-8.9 Some highlights: * ssh(1), sshd(8), ssh-add(1), ssh-agent(1): add a system for restricting forwarding and use of keys added to ssh-agent(1) * ssh(1), sshd(8): add the sntrup761x25519-sha512@openssh.com hybrid ECDH/x25519 + Streamlined NTRU Prime post-quantum KEX to the default KEXAlgorithms list (after the ECDH methods but before the prime-group DH ones). The next release of OpenSSH is likely to make this key exchange the default method. * sshd(8), portable OpenSSH only: this release removes in-built support for MD5-hashed passwords. If you require these on your system then we recommend linking against libxcrypt or similar. Future deprecation notice ========================= A near-future release of OpenSSH will switch scp(1) from using the legacy scp/rcp protocol to using SFTP by default. Legacy scp/rcp performs wildcard expansion of remote filenames (e.g. "scp host:* .") through the remote shell. This has the side effect of requiring double quoting of shell meta-characters in file names included on scp(1) command-lines, otherwise they could be interpreted as shell commands on the remote side. MFC after: 1 month Relnotes: Yes Sponsored by: The FreeBSD Foundation
* | openssh: update to OpenSSH v8.7p1Ed Maste2021-09-081-9/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some notable changes, from upstream's release notes: - sshd(8): Remove support for obsolete "host/port" syntax. - ssh(1): When prompting whether to record a new host key, accept the key fingerprint as a synonym for "yes". - ssh-keygen(1): when acting as a CA and signing certificates with an RSA key, default to using the rsa-sha2-512 signature algorithm. - ssh(1), sshd(8), ssh-keygen(1): this release removes the "ssh-rsa" (RSA/SHA1) algorithm from those accepted for certificate signatures. - ssh-sk-helper(8): this is a new binary. It is used by the FIDO/U2F support to provide address-space isolation for token middleware libraries (including the internal one). - ssh(1): this release enables UpdateHostkeys by default subject to some conservative preconditions. - scp(1): this release changes the behaviour of remote to remote copies (e.g. "scp host-a:/path host-b:") to transfer through the local host by default. - scp(1): experimental support for transfers using the SFTP protocol as a replacement for the venerable SCP/RCP protocol that it has traditionally used. Additional integration work is needed to support FIDO/U2F in the base system. Deprecation Notice ------------------ OpenSSH will disable the ssh-rsa signature scheme by default in the next release. Reviewed by: imp MFC after: 1 month Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29985
* | Upgrade to OpenSSH 7.8p1.Dag-Erling Smørgrav2018-09-101-3/+3
|\| | | | | | | | | | | | | Approved by: re (kib@) Notes: svn path=/head/; revision=338561
* | Upgrade to OpenSSH 7.4p1.Dag-Erling Smørgrav2017-03-061-21/+2
|\| | | | | | | Notes: svn path=/head/; revision=314720
* | Upgrade to OpenSSH 7.3p1.Dag-Erling Smørgrav2017-03-021-5/+7
|\| | | | | | | Notes: svn path=/head/; revision=314527
* | Upgrade to OpenSSH 6.8p1.Dag-Erling Smørgrav2016-01-191-22/+42
|\| | | | | | | Notes: svn path=/head/; revision=294332
* | Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removedDag-Erling Smørgrav2016-01-191-2/+2
|\| | | | | | | | | | | | | | | | | upstream) and a number of security fixes which we had already backported. MFC after: 1 week Notes: svn path=/head/; revision=294328
* | Upgrade to OpenSSH 5.4p1.Dag-Erling Smørgrav2010-03-091-8/+2
|\| | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=204917
* | Upgrade to OpenSSH 5.1p1.Dag-Erling Smørgrav2008-08-011-4/+22
|\| | | | | | | | | | | | | | | | | | | | | | | | | I have worked hard to reduce diffs against the vendor branch. One notable change in that respect is that we no longer prefer DSA over RSA - the reasons for doing so went away years ago. This may cause some surprises, as ssh will warn about unknown host keys even for hosts whose keys haven't changed. MFC after: 6 weeks Notes: svn path=/head/; revision=181111
| * Properly flatten openssh/dist.Dag-Erling Smørgrav2008-07-221-309/+0
|/ | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=180720
* Vendor import of OpenSSH 4.4p1.Dag-Erling Smørgrav2006-09-301-1/+15
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=162852
* Vendor import of OpenSSH 4.2p1.Dag-Erling Smørgrav2005-09-031-2/+2
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=149749
* Vendor import of OpenSSH 3.8p1.Dag-Erling Smørgrav2004-02-261-5/+1
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=126274
* Vendor import of OpenSSH 3.7.1p2.Dag-Erling Smørgrav2004-01-071-6/+7
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=124208
* Vendor import of OpenSSH 3.3.Dag-Erling Smørgrav2002-06-231-27/+41
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=98675
* Vendor import of OpenSSH 3.1Dag-Erling Smørgrav2002-03-181-14/+13
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=92555
* Say "hi" to the latest in the OpenSSH series, version 2.9!Brian Feldman2001-05-041-15/+33
| | | | | | | Happy birthday to: rwatson Notes: svn path=/vendor-crypto/openssh/dist/; revision=76259
* Import of OpenSSH 2.3.0 (virgin OpenBSD source release).Brian Feldman2000-12-051-1/+4
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=69587
* Initial import of OpenSSH post-2.2.0 snapshot dated 2000-09-09Kris Kennaway2000-09-101-8/+6
| | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=65668
* Initial import of OpenSSH v2.1.vendor/openssh/2.1Kris Kennaway2000-05-151-9/+9
| | | | | Notes: svn path=/vendor-crypto/openssh/dist/; revision=60573 svn path=/vendor-crypto/openssh/2.1/; revision=60575; tag=vendor/openssh/2.1
* Vendor import of OpenSSH.vendor/openssh/1.2-2000-02-24Mark Murray2000-02-241-0/+266
Notes: svn path=/vendor-crypto/openssh/dist/; revision=57429 svn path=/vendor-crypto/openssh/1.2-2000-02-24/; revision=57431; tag=vendor/openssh/1.2-2000-02-24