opnsense-src/crypto/openssh
Ed Maste fcda475ccf OpenSSH: Fix logic error in DisableForwarding option
This option was documented as disabling X11 and agent forwarding but it
failed to do so.  Spotted by Tim Rice.

Obtained from:	OpenBSD d31ec64016fc
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 3620d70511dc8bf45752028dac0af6f157ec6146)
2025-04-14 15:24:47 -04:00
..
.github openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
contrib openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
m4 openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
openbsd-compat openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
regress openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
.depend openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
.git_allowed_signers openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
.git_allowed_signers.asc openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
.gitignore openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
.skipped-commit-ids openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
aclocal.m4 ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
addr.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
addr.h ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
addrmatch.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
atomicio.c ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
atomicio.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
audit-bsm.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
audit-linux.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
audit.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
audit.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
auth-bsdauth.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
auth-krb5.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
auth-options.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
auth-options.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
auth-pam.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth-pam.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth-passwd.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
auth-rhosts.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth-shadow.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
auth-sia.c Upgrade to OpenSSH 7.8p1. 2018-09-10 16:20:12 +00:00
auth-sia.h
auth.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
auth.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-chall.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
auth2-gss.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-hostbased.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-kbdint.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-methods.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-none.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-passwd.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-pubkey.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
auth2-pubkeyfile.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
auth2.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
authfd.c ssh: Update to OpenSSH 9.6p1 2024-01-07 14:31:11 -05:00
authfd.h ssh: Update to OpenSSH 9.6p1 2024-01-07 14:31:11 -05:00
authfile.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
authfile.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
bitmap.c Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
bitmap.h Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
blacklist.c Canonicalize the name of the FreeBSD Foundation 2025-02-19 09:58:47 -05:00
blacklist_client.h Canonicalize the name of the FreeBSD Foundation 2025-02-19 09:58:47 -05:00
buildpkg.sh.in openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
canohost.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
canohost.h Upgrade to OpenSSH 7.3p1. 2017-03-02 00:11:32 +00:00
chacha.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
chacha.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
ChangeLog openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
channels.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
channels.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
cipher-aes.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
cipher-aesctr.c Upgrade to OpenSSH 6.8p1. 2016-01-19 18:28:23 +00:00
cipher-aesctr.h Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removed 2016-01-19 16:18:26 +00:00
cipher-chachapoly-libcrypto.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
cipher-chachapoly.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
cipher-chachapoly.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
cipher.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
cipher.h ssh: Update to OpenSSH 9.6p1 2024-01-07 14:31:11 -05:00
cleanup.c
clientloop.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
clientloop.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
compat.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
compat.h ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
config.guess ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
config.h openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
config.sub ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
configure.ac openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
CREDITS openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
crypto_api.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
defines.h openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
dh.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
dh.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
digest-libc.c ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
digest-openssl.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
digest.h Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1. 2018-05-08 23:13:11 +00:00
dispatch.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
dispatch.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
dns.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
dns.h ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
ed25519.c ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
ed25519.sh openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
entropy.c ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
entropy.h Upgrade to OpenSSH 7.8p1. 2018-09-10 16:20:12 +00:00
fatal.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
fixalgorithms Upgrade to 6.3p1. 2013-09-21 21:36:09 +00:00
fixpaths
freebsd-configure.sh ssh: drop $FreeBSD$ from crypto/openssh 2022-04-22 19:12:23 -04:00
freebsd-namespace.sh ssh: drop $FreeBSD$ from crypto/openssh 2022-04-22 19:12:23 -04:00
FREEBSD-upgrade ssh: Remove reference to now-upstreamed patch 2025-03-07 10:24:59 -05:00
groupaccess.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
groupaccess.h
gss-genr.c ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
gss-serv-krb5.c Upgrade to OpenSSH 7.8p1. 2018-09-10 16:20:12 +00:00
gss-serv.c openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
hash.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
hmac.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
hmac.h Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removed 2016-01-19 16:18:26 +00:00
hostfile.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
hostfile.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
includes.h ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
INSTALL ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
install-sh ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
kex-names.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
kex.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
kex.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
kexc25519.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
kexdh.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
kexecdh.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
kexgen.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
kexgex.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
kexgexc.c ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
kexgexs.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
kexmlkem768x25519.c openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
kexsntrup761x25519.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
krb5_config.h ssh: drop $FreeBSD$ from crypto/openssh 2022-04-22 19:12:23 -04:00
krl.c ssh: Fix cases where error codes were not correctly set 2025-02-19 09:42:52 -05:00
krl.h ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
libcrux_mlkem768_sha3.h openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
LICENCE openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
log.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
log.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
loginrec.c openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
loginrec.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
logintest.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
mac.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
mac.h Upgrade to OpenSSH 7.3p1. 2017-03-02 00:11:32 +00:00
Makefile.in openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
match.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
match.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
mdoc2man.awk Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
misc.c openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
misc.h openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
mkinstalldirs Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
mlkem768.sh openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
moduli openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
moduli.5 ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
moduli.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
monitor.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
monitor.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
monitor_fdpass.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
monitor_fdpass.h
monitor_wrap.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
monitor_wrap.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
msg.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
msg.h Upgrade to OpenSSH 6.8p1. 2016-01-19 18:28:23 +00:00
mux.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
myproposal.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
nchan.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
nchan.ms Pull in all the OpenSSH bits that we'd previously left out because we 2013-09-21 22:24:10 +00:00
nchan2.ms Pull in all the OpenSSH bits that we'd previously left out because we 2013-09-21 22:24:10 +00:00
openssh.xml.in Pull in all the OpenSSH bits that we'd previously left out because we 2013-09-21 22:24:10 +00:00
opensshd.init.in ssh: update to OpenSSH v8.8p1 2021-12-19 11:02:02 -05:00
OVERVIEW openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
packet.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
packet.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
pathnames.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
pkcs11.h Upgrade to OpenSSH 6.5p1. 2014-01-31 13:12:02 +00:00
platform-listen.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
platform-misc.c Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1. 2018-05-08 23:13:11 +00:00
platform-pledge.c Upgrade to OpenSSH 7.2p2. 2016-03-11 00:15:29 +00:00
platform-tracing.c ssh: update comment text to match upstream 2022-11-09 11:32:47 -05:00
platform.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
platform.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
poly1305.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
poly1305.h Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removed 2016-01-19 16:18:26 +00:00
progressmeter.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
progressmeter.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
PROTOCOL ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
PROTOCOL.agent openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
PROTOCOL.certkeys openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
PROTOCOL.chacha20poly1305 openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
PROTOCOL.key openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
PROTOCOL.krl ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
PROTOCOL.mux ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
PROTOCOL.sshsig openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
PROTOCOL.u2f openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
readconf.c openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
readconf.h ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
README openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
README.dns openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
README.md ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
README.platform ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
README.privsep openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
README.tun
readpass.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
rijndael.c Upgrade to OpenSSH 6.9p1. 2016-01-19 18:55:44 +00:00
rijndael.h ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
sandbox-capsicum.c ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sandbox-darwin.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sandbox-null.c Upgrade to OpenSSH 6.5p1. 2014-01-31 13:12:02 +00:00
sandbox-pledge.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sandbox-rlimit.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sandbox-seccomp-filter.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
sandbox-solaris.c Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1. 2018-05-08 23:13:11 +00:00
sandbox-systrace.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
scp.1 ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
scp.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
SECURITY.md ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
servconf.c openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
servconf.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
serverloop.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
serverloop.h Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1. 2018-05-08 23:13:11 +00:00
session.c OpenSSH: Fix logic error in DisableForwarding option 2025-04-14 15:24:47 -04:00
session.h ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
sftp-client.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
sftp-client.h ssh: Update to OpenSSH 9.5p1 2023-10-12 14:46:11 -04:00
sftp-common.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
sftp-common.h ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sftp-glob.c ssh: Update to OpenSSH 9.5p1 2023-10-12 14:46:11 -04:00
sftp-realpath.c ssh: update to OpenSSH v8.8p1 2021-12-19 11:02:02 -05:00
sftp-server-main.c ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sftp-server.8 openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sftp-server.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
sftp-usergroup.c ssh: Update to OpenSSH 9.5p1 2023-10-12 14:46:11 -04:00
sftp-usergroup.h ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sftp.1 ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
sftp.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
sftp.h
sk-api.h ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sk-usbhid.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
sk_config.h ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
smult_curve25519_ref.c Upgrade to OpenSSH 6.5p1. 2014-01-31 13:12:02 +00:00
sntrup761.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sntrup761.sh openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
srclimit.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
srclimit.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-add.1 openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
ssh-add.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-agent.1 ssh: Update to OpenSSH 9.5p1 2023-10-12 14:46:11 -04:00
ssh-agent.c ssh: Fix cases where error codes were not correctly set 2025-02-19 09:42:52 -05:00
ssh-dss.c ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
ssh-ecdsa-sk.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-ecdsa.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-ed25519-sk.c ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
ssh-ed25519.c ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
ssh-gss.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
ssh-keygen.1 openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-keygen.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-keyscan.1 openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
ssh-keyscan.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-keysign.8 openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
ssh-keysign.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
ssh-pkcs11-client.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-pkcs11-helper.8 ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
ssh-pkcs11-helper.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-pkcs11.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-pkcs11.h ssh: Update to OpenSSH 9.6p1 2024-01-07 14:31:11 -05:00
ssh-rsa.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-sandbox.h Upgrade to OpenSSH 6.5p1. 2014-01-31 13:12:02 +00:00
ssh-sk-client.c ssh: Fix cases where error codes were not correctly set 2025-02-19 09:42:52 -05:00
ssh-sk-helper.8 ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
ssh-sk-helper.c ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
ssh-sk.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh-sk.h ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
ssh-xmss.c ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
ssh.1 openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh.c ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
ssh.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
ssh2.h ssh: Update to OpenSSH 9.6p1 2024-01-07 14:31:11 -05:00
ssh_api.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh_api.h Upgrade to OpenSSH 7.8p1. 2018-09-10 16:20:12 +00:00
ssh_config ssh: Update to OpenSSH 9.4p1 2023-08-10 23:10:18 -04:00
ssh_config.5 openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssh_namespace.h openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
sshbuf-getput-basic.c ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sshbuf-getput-crypto.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshbuf-io.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sshbuf-misc.c ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
sshbuf.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshbuf.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshconnect.c openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
sshconnect.h openssh: Update to 9.8p1 2025-02-20 12:50:11 -05:00
sshconnect2.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshd-session.c openssh: Fix blacklistd sshd-session integration 2025-02-26 16:40:46 +00:00
sshd.8 openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshd.c openssh: Fix blacklistd sshd-session integration 2025-02-26 16:40:46 +00:00
sshd_config ssh: Bump VersionAddendum for CVE fixes 2025-02-19 09:43:06 -05:00
sshd_config.5 openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
ssherr.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
ssherr.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sshkey-xmss.c ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
sshkey-xmss.h ssh: update to OpenSSH 9.2p1 2023-02-06 16:54:56 -05:00
sshkey.c openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshkey.h openssh: Update to 9.9p1 2025-02-20 12:50:31 -05:00
sshlogin.c ssh: update to OpenSSH 9.1p1 2022-10-19 10:27:11 -04:00
sshlogin.h Upgrade to 6.3p1. 2013-09-21 21:36:09 +00:00
sshpty.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
sshpty.h Upgrade to OpenSSH 7.4p1. 2017-03-06 01:37:05 +00:00
sshsig.c ssh: Fix cases where error codes were not correctly set 2025-02-19 09:42:52 -05:00
sshsig.h ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
sshtty.c
survey.sh.in Pull in all the OpenSSH bits that we'd previously left out because we 2013-09-21 22:24:10 +00:00
TODO Upgrade to OpenSSH 7.8p1. 2018-09-10 16:20:12 +00:00
ttymodes.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
ttymodes.h Upgrade to OpenSSH 7.6p1. This will be followed shortly by 7.7p1. 2018-05-08 23:13:11 +00:00
uidswap.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
uidswap.h Upgrade to OpenSSH 7.8p1. 2018-09-10 16:20:12 +00:00
umac.c ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
umac.h ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
umac128.c ssh: drop $FreeBSD$ from crypto/openssh 2022-04-22 19:12:23 -04:00
utf8.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
utf8.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
version.h openssh: Update to 9.9p2 2025-02-20 12:50:46 -05:00
xmalloc.c ssh: update to OpenSSH v9.0p1 2022-04-15 10:41:08 -04:00
xmalloc.h openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
xmss_commons.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
xmss_commons.h Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
xmss_fast.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
xmss_fast.h Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
xmss_hash.c ssh: Update to OpenSSH 9.7p1 2024-03-25 18:31:44 -04:00
xmss_hash.h Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
xmss_hash_address.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
xmss_hash_address.h Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00
xmss_wots.c openssh: update to OpenSSH v8.7p1 2021-09-07 21:05:51 -04:00
xmss_wots.h Upgrade to OpenSSH 7.7p1. 2018-05-11 13:22:43 +00:00

Portable OpenSSH

C/C++ CI Fuzzing Status Coverity Status

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.

This is a port of OpenBSD's OpenSSH 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).

Documentation

The official documentation for OpenSSH are the man pages for each tool:

Stable Releases

Stable release tarballs are available from a number of download mirrors. We recommend the use of a stable release for most users. Please read the release notes for details of recent changes and potential incompatibilities.

Building Portable OpenSSH

Dependencies

Portable OpenSSH is built using autoconf and make. It requires a working C compiler, standard library and headers.

libcrypto from either LibreSSL or OpenSSL may also be used. OpenSSH may be built without either of these, but the resulting binaries will have only a subset of the cryptographic algorithms normally available.

zlib is optional; without it transport compression is not supported.

FIDO security token support needs libfido2 and its dependencies and will be enabled automatically if they are found.

In addition, certain platforms and build-time options may require additional dependencies; see README.platform for details about your platform.

Building a release

Releases include a pre-built copy of the configure script and may be built using:

tar zxvf openssh-X.YpZ.tar.gz
cd openssh
./configure # [options]
make && make tests

See the 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.

Building from git

If building from git, you'll need autoconf installed to build the configure script. The following commands will check out and build portable OpenSSH from git:

git clone https://github.com/openssh/openssh-portable # or https://anongit.mindrot.org/openssh.git
cd openssh-portable
autoreconf
./configure
make && make tests

Build-time Customisation

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).

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.

Flag Meaning
--with-pam Enable PAM support. OpenPAM, Linux PAM and Solaris PAM are supported.
--with-libedit Enable libedit support for sftp.
--with-kerberos5 Enable Kerberos/GSSAPI support. Both Heimdal and MIT Kerberos implementations are supported.
--with-selinux Enable SELinux support.

Development

Portable OpenSSH development is discussed on the openssh-unix-dev mailing list (archive mirror). Bugs and feature requests are tracked on our Bugzilla.

Reporting bugs

Non-security bugs may be reported to the developers via Bugzilla or via the mailing list above. Security bugs should be reported to openssh@openssh.com.