Go to file
Colin Watson f8f63fbd2c Various Debian-specific configuration changes
ssh: Enable ForwardX11Trusted, returning to earlier semantics which cause
fewer problems with existing setups (http://bugs.debian.org/237021).

ssh: Set 'SendEnv LANG LC_*' by default (http://bugs.debian.org/264024).

ssh: Enable HashKnownHosts by default to try to limit the spread of ssh
worms.

ssh: Enable GSSAPIAuthentication by default.

ssh: Include /etc/ssh/ssh_config.d/*.conf.

sshd: Enable PAM, disable ChallengeResponseAuthentication, and disable
PrintMotd.

sshd: Enable X11Forwarding.

sshd: Set 'AcceptEnv LANG LC_*' by default.

sshd: Change sftp subsystem path to /usr/lib/openssh/sftp-server.

sshd: Include /etc/ssh/sshd_config.d/*.conf.

Document all of this.

Author: Russ Allbery <rra@debian.org>
Forwarded: not-needed
Last-Update: 2020-02-21

Patch-Name: debian-config.patch

Gbp-Pq: Name debian-config.patch
2022-06-16 16:57:13 +08:00
contrib Give the ssh-askpass-gnome window a default icon 2022-06-16 16:57:13 +08:00
debian Import Debian changes 1:8.2p1-ok1 2022-06-16 16:57:06 +08:00
openbsd-compat Don't check the status field of the OpenSSL version 2022-06-16 16:57:13 +08:00
regress Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
.depend Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
.gitignore Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
.skipped-commit-ids Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
CREDITS Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ChangeLog Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
INSTALL Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
LICENCE Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
Makefile.in Install authorized_keys(5) as a symlink to sshd(8) 2022-06-16 16:57:13 +08:00
OVERVIEW Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.agent Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.certkeys Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.chacha20poly1305 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.key Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.krl Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.mux Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.sshsig Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
PROTOCOL.u2f Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
README Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
README.dns Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
README.md GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
README.platform Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
README.privsep Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
README.tun Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
TODO Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
aclocal.m4 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
addrmatch.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
atomicio.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
atomicio.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
audit-bsm.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
audit-linux.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
audit.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
audit.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-bsdauth.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-krb5.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-options.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-options.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-pam.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-pam.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-passwd.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-rhosts.c Allow harmless group-writability 2022-06-16 16:57:13 +08:00
auth-shadow.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-sia.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth-sia.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth.c Allow harmless group-writability 2022-06-16 16:57:13 +08:00
auth.h Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
auth2-chall.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth2-gss.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
auth2-hostbased.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth2-kbdint.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth2-none.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth2-passwd.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth2-pubkey.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
auth2.c Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
authfd.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
authfd.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
authfile.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
authfile.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
bitmap.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
bitmap.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
buildpkg.sh.in Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
canohost.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
canohost.h GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
chacha.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
chacha.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
channels.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
channels.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher-aes.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher-aesctr.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher-aesctr.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher-chachapoly.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher-chachapoly.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher-ctr.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cipher.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
cleanup.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
clientloop.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
clientloop.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
compat.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
compat.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
config.guess Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
config.h.in Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
config.sub Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
configure Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
configure.ac Add systemd readiness notification support 2022-06-16 16:57:13 +08:00
crypto_api.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
defines.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
dh.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
dh.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
digest-libc.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
digest-openssl.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
digest.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
dispatch.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
dispatch.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
dns.c Force use of DNSSEC even if "options edns0" isn't in resolv.conf 2022-06-16 16:57:13 +08:00
dns.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ed25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
entropy.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
entropy.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
fatal.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
fe25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
fe25519.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
fixalgorithms Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
fixpaths Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ge25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ge25519.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ge25519_base.data Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
groupaccess.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
groupaccess.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
gss-genr.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
gss-serv-krb5.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
gss-serv.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
hash.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
hmac.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
hmac.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
hostfile.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
hostfile.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
includes.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
install-sh Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
kex.c Add DebianBanner server configuration option 2022-06-16 16:57:13 +08:00
kex.h Add DebianBanner server configuration option 2022-06-16 16:57:13 +08:00
kexc25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
kexdh.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
kexecdh.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
kexgen.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
kexgex.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
kexgexc.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
kexgexs.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
kexgssc.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
kexgsss.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
kexsntrup4591761x25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
krl.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
krl.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
log.c "LogLevel SILENT" compatibility 2022-06-16 16:57:13 +08:00
log.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
loginrec.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
loginrec.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
logintest.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
mac.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
mac.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
match.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
match.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
md5crypt.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
md5crypt.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
mdoc2man.awk Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
misc.c Allow harmless group-writability 2022-06-16 16:57:13 +08:00
misc.h Allow harmless group-writability 2022-06-16 16:57:13 +08:00
mkinstalldirs Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
moduli Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
moduli.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
moduli.5 Adjust various OpenBSD-specific references in manual pages 2022-06-16 16:57:13 +08:00
moduli.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
monitor.c Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
monitor.h Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
monitor_fdpass.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
monitor_fdpass.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
monitor_wrap.c Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
monitor_wrap.h Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
msg.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
msg.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
mux.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
myproposal.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
nchan.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
nchan.ms Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
nchan2.ms Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
openssh.xml.in Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
opensshd.init.in Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
packet.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
packet.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
pathnames.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
pkcs11.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
platform-misc.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
platform-pledge.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
platform-tracing.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
platform.c Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
platform.h Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
poly1305.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
poly1305.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
progressmeter.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
progressmeter.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
readconf.c Various Debian-specific configuration changes 2022-06-16 16:57:13 +08:00
readconf.h GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
readpass.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
rijndael.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
rijndael.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-capsicum.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-darwin.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-null.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-pledge.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-rlimit.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-seccomp-filter.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-solaris.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sandbox-systrace.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sc25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sc25519.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
scp.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
scp.1 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
scp.c Adjust scp quoting in verbose mode 2022-06-16 16:57:13 +08:00
servconf.c Add DebianBanner server configuration option 2022-06-16 16:57:13 +08:00
servconf.h Add DebianBanner server configuration option 2022-06-16 16:57:13 +08:00
serverloop.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
serverloop.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
session.c Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
session.h Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
sftp-client.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-client.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-common.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-common.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-glob.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-realpath.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-server-main.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-server.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-server.8 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp-server.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp.1 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sftp.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sk-api.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sk-usbhid.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
smult_curve25519_ref.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sntrup4591761.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sntrup4591761.sh Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-add.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-add.1 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-add.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-agent.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-agent.1 Document consequences of ssh-agent being setgid in ssh-agent(1) 2022-06-16 16:57:13 +08:00
ssh-agent.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-dss.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-ecdsa-sk.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-ecdsa.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-ed25519-sk.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-ed25519.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-gss.h GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
ssh-keygen.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keygen.1 Adjust various OpenBSD-specific references in manual pages 2022-06-16 16:57:13 +08:00
ssh-keygen.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keyscan.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keyscan.1 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keyscan.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keysign.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keysign.8 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-keysign.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-pkcs11-client.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-pkcs11-helper.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-pkcs11-helper.8 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-pkcs11-helper.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-pkcs11.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-pkcs11.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-rsa.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sandbox.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sk-client.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sk-helper.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sk-helper.8 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sk-helper.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sk.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-sk.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh-xmss.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh.1 Various Debian-specific configuration changes 2022-06-16 16:57:13 +08:00
ssh.c "LogLevel SILENT" compatibility 2022-06-16 16:57:13 +08:00
ssh.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh2.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh_api.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh_api.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh_config Various Debian-specific configuration changes 2022-06-16 16:57:13 +08:00
ssh_config.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssh_config.5 Various Debian-specific configuration changes 2022-06-16 16:57:13 +08:00
sshbuf-getput-basic.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshbuf-getput-crypto.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshbuf-io.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshbuf-misc.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshbuf.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshbuf.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshconnect.c Add DebianBanner server configuration option 2022-06-16 16:57:13 +08:00
sshconnect.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshconnect2.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
sshd.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshd.8 Adjust various OpenBSD-specific references in manual pages 2022-06-16 16:57:13 +08:00
sshd.c Add systemd readiness notification support 2022-06-16 16:57:13 +08:00
sshd_config Various Debian-specific configuration changes 2022-06-16 16:57:13 +08:00
sshd_config.0 Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshd_config.5 Various Debian-specific configuration changes 2022-06-16 16:57:13 +08:00
ssherr.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ssherr.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshkey-xmss.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshkey-xmss.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshkey.c GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
sshkey.h GSSAPI key exchange support 2022-06-16 16:57:12 +08:00
sshlogin.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshlogin.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshpty.c Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
sshpty.h Handle SELinux authorisation roles 2022-06-16 16:57:12 +08:00
sshsig.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshsig.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
sshtty.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
survey.sh.in Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ttymodes.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
ttymodes.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
uidswap.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
uidswap.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
umac.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
umac.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
umac128.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
utf8.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
utf8.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
verify.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
version.h Include the Debian version in our identification 2022-06-16 16:57:13 +08:00
xmalloc.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmalloc.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_commons.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_commons.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_fast.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_fast.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_hash.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_hash.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_hash_address.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_hash_address.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_wots.c Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00
xmss_wots.h Import Upstream version 8.2p1 2022-06-16 16:57:06 +08:00

README.md

Portable OpenSSH with GSSAPI Key Exchange patches

Currently, there are two branches with gssapi key exchange related patches:

  • fedora/master: Changes that are shipped in Fedora
  • debian/master: Changes that are shipped in Debian

The target is to converge to a shared repository with single master branch from where we could build releases for both OSes.

What is in:

  • The original patch implementing missing parts of RFC4462 by Simon Wilkinson adapted to the current OpenSSH versions and with several fixes
  • New methods for GSSAPI Kex from IETF draft [1] from Jakub Jelen

Missing kerberos-related parts:

  • .k5login and .kusers support available in Fedora [2] [3].
  • Improved handling of kerberos ccache location [4]

[1] https://tools.ietf.org/html/draft-ietf-curdle-gss-keyex-sha2-08 [2] https://src.fedoraproject.org/rpms/openssh/blob/master/f/openssh-6.6p1-kuserok.patch [3] https://src.fedoraproject.org/rpms/openssh/blob/master/f/openssh-6.6p1-GSSAPIEnablek5users.patch [4] https://bugzilla.mindrot.org/show_bug.cgi?id=2775


Portable OpenSSH

Fuzzing 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, and zlib. libcrypto from either LibreSSL or OpenSSL may also be used, but OpenSSH may be built without it supporting a subset of crypto algorithms.

FIDO security token support need libfido2 and its dependencies. Also, certain platforms and build-time options may require additional dependencies, see README.platform for details.

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.
--with-security-key-builtin Include built-in support for U2F/FIDO2 security keys. This requires libfido2 be installed.

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.