gbucchino 7fc4e7cd73
C/C++ CI / ubuntu-latest boringssl (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 c89 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-10 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-11 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-12-Werror (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-6.0 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-8 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-9 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-sanitize-address (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 clang-sanitize-undefined (push) Canceled after 0s
C/C++ CI / windows-2019 cygwin-release (push) Canceled after 0s
C/C++ CI / windows-2022 cygwin-release (push) Canceled after 0s
C/C++ CI / macos-13 default (push) Canceled after 0s
C/C++ CI / macos-14 default (push) Canceled after 0s
C/C++ CI / macos-15 default (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 default (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 default (push) Canceled after 0s
C/C++ CI / windows-2019 default (push) Canceled after 0s
C/C++ CI / windows-2022 default (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 gcc-10 (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 gcc-11-Werror (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 gcc-12-Werror (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 gcc-7 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 gcc-8 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 gcc-sanitize-address (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 gcc-sanitize-undefined (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 hardenedmalloc (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 heimdal (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 kitchensink (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 kitchensink (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 krb5 (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 libedit (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.2.6 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.3.6 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.4.3 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.5.3 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.6.1 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.7.2 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.8.4 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-3.9.1 (push) Canceled after 0s
C/C++ CI / ubuntu-latest libressl-master (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 musl (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-1.1.1 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-1.1.1_stable (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-1.1.1t (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-1.1.1w (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.0 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.0.0 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.0.13 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.1 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.1.0 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.1.5 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.2 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.2.1 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.3 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-3.3.0 (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-master (push) Canceled after 0s
C/C++ CI / ubuntu-latest openssl-noec (push) Canceled after 0s
C/C++ CI / macos-13 pam (push) Canceled after 0s
C/C++ CI / macos-14 pam (push) Canceled after 0s
C/C++ CI / macos-15 pam (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 pam (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 pam (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.71 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.72 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.73 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.74 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.75 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.76 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.77 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.78 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.79 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-0.80 (push) Canceled after 0s
C/C++ CI / ubuntu-latest putty-snapshot (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 selinux (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 sk (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 tcmalloc (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 valgrind-1 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 valgrind-2 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 valgrind-3 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 valgrind-4 (push) Canceled after 0s
C/C++ CI / ubuntu-20.04 valgrind-unit (push) Canceled after 0s
C/C++ CI / ubuntu-22.04 without-openssl (push) Canceled after 0s
C/C++ CI / ubuntu-latest zlib-develop (push) Canceled after 0s
CIFuzz / Fuzzing (push) Canceled after 0s
C/C++ CI self-hosted / win10 cygwin-release (push) Canceled after 0s
C/C++ CI self-hosted / ARM default (push) Canceled after 0s
C/C++ CI self-hosted / ARM64 default (push) Canceled after 0s
C/C++ CI self-hosted / alpine default (push) Canceled after 0s
C/C++ CI self-hosted / centos7 default (push) Canceled after 0s
C/C++ CI self-hosted / debian-i386 default (push) Canceled after 0s
C/C++ CI self-hosted / dfly30 default (push) Canceled after 0s
C/C++ CI self-hosted / dfly48 default (push) Canceled after 0s
C/C++ CI self-hosted / dfly60 default (push) Canceled after 0s
C/C++ CI self-hosted / dfly62 default (push) Canceled after 0s
C/C++ CI self-hosted / dfly64 default (push) Canceled after 0s
C/C++ CI self-hosted / fbsd10 default (push) Canceled after 0s
C/C++ CI self-hosted / fbsd12 default (push) Canceled after 0s
C/C++ CI self-hosted / fbsd13 default (push) Canceled after 0s
C/C++ CI self-hosted / fbsd14 default (push) Canceled after 0s
C/C++ CI self-hosted / minix3 default (push) Canceled after 0s
C/C++ CI self-hosted / nbsd3 default (push) Canceled after 0s
C/C++ CI self-hosted / nbsd4 default (push) Canceled after 0s
C/C++ CI self-hosted / nbsd8 default (push) Canceled after 0s
C/C++ CI self-hosted / nbsd9 default (push) Canceled after 0s
C/C++ CI self-hosted / obsd51 default (push) Canceled after 0s
C/C++ CI self-hosted / obsd67 default (push) Canceled after 0s
C/C++ CI self-hosted / obsd72 default (push) Canceled after 0s
C/C++ CI self-hosted / obsd73 default (push) Canceled after 0s
C/C++ CI self-hosted / obsd74 default (push) Canceled after 0s
C/C++ CI self-hosted / obsdsnap default (push) Canceled after 0s
C/C++ CI self-hosted / obsdsnap-i386 default (push) Canceled after 0s
C/C++ CI self-hosted / omnios default (push) Canceled after 0s
C/C++ CI self-hosted / openindiana default (push) Canceled after 0s
C/C++ CI self-hosted / ubuntu-2204 default (push) Canceled after 0s
C/C++ CI self-hosted / obsd-arm64 default (push) Canceled after 0s
C/C++ CI self-hosted / aix51 default (push) Canceled after 0s
C/C++ CI self-hosted / sol10 default (push) Canceled after 0s
C/C++ CI self-hosted / sol11 default (push) Canceled after 0s
C/C++ CI self-hosted / win10 default (push) Canceled after 0s
C/C++ CI self-hosted / debian-riscv64 default (push) Canceled after 0s
C/C++ CI self-hosted / openwrt-mips default (push) Canceled after 0s
C/C++ CI self-hosted / openwrt-mipsel default (push) Canceled after 0s
C/C++ CI self-hosted / ARM64 pam (push) Canceled after 0s
C/C++ CI self-hosted / centos7 pam (push) Canceled after 0s
C/C++ CI self-hosted / debian-i386 pam (push) Canceled after 0s
C/C++ CI self-hosted / dfly48 pam (push) Canceled after 0s
C/C++ CI self-hosted / dfly58 pam (push) Canceled after 0s
C/C++ CI self-hosted / dfly60 pam (push) Canceled after 0s
C/C++ CI self-hosted / dfly62 pam (push) Canceled after 0s
C/C++ CI self-hosted / dfly64 pam (push) Canceled after 0s
C/C++ CI self-hosted / fbsd10 pam (push) Canceled after 0s
C/C++ CI self-hosted / fbsd12 pam (push) Canceled after 0s
C/C++ CI self-hosted / fbsd13 pam (push) Canceled after 0s
C/C++ CI self-hosted / fbsd14 pam (push) Canceled after 0s
C/C++ CI self-hosted / nbsd10 pam (push) Canceled after 0s
C/C++ CI self-hosted / nbsd8 pam (push) Canceled after 0s
C/C++ CI self-hosted / nbsd9 pam (push) Canceled after 0s
C/C++ CI self-hosted / omnios pam (push) Canceled after 0s
C/C++ CI self-hosted / openindiana pam (push) Canceled after 0s
C/C++ CI self-hosted / sol10 pam (push) Canceled after 0s
C/C++ CI self-hosted / sol11 pam-krb5 (push) Canceled after 0s
C/C++ CI self-hosted / sol11 sol64 (push) Canceled after 0s
C/C++ CI self-hosted / dfly30 without-openssl (push) Canceled after 0s
Add KEX KEMRSA
2026-08-14 14:29:17 +01:00
2025-02-18 19:12:51 +11:00
2024-09-20 08:20:48 +10:00
2024-09-20 08:20:48 +10:00
…
…
2024-05-17 14:42:49 +10:00
2024-05-31 19:04:11 +10:00
…
…
…
2025-02-18 19:15:08 +11:00
2023-03-24 13:56:25 +11:00
…
2022-12-06 12:23:08 +11:00
2025-03-03 14:21:12 +11:00
2022-12-06 12:23:08 +11:00
2026-08-14 14:29:17 +01:00
2026-08-14 14:29:17 +01:00
…
…
…
…
2024-05-17 14:42:49 +10:00
2022-11-10 12:44:51 +11:00
…
…
…
2024-02-01 13:42:45 +11:00
2024-09-25 11:33:47 +10:00
…
…
…
2023-03-24 13:56:25 +11:00
2022-12-06 12:23:08 +11:00
2026-08-14 14:29:17 +01:00
2026-08-14 14:29:17 +01:00
2026-08-14 14:29:17 +01:00
2026-08-14 14:29:17 +01:00
…
…
2026-08-14 14:29:17 +01:00
…
…
2024-06-28 08:37:11 +10:00
2024-06-28 08:37:11 +10:00
…
…
2026-08-14 14:29:17 +01:00
…
2024-08-21 20:24:24 +10:00
2025-02-18 19:15:08 +11:00
2022-04-16 14:33:20 +10:00
…
…
…
…
…
2024-05-17 14:41:37 +10:00
2024-04-03 14:40:32 +11:00
2025-02-18 19:12:51 +11:00
2023-03-03 14:50:03 +11:00
2025-02-18 19:15:08 +11:00
2024-06-13 14:41:33 +10:00
2023-01-06 16:21:39 +11:00
2024-05-17 14:42:49 +10:00
2025-02-18 19:15:08 +11:00
2025-02-18 19:15:08 +11:00
…
…
2025-02-18 19:15:08 +11:00
2025-02-18 19:15:08 +11:00
2025-02-18 19:15:08 +11:00
2025-02-18 19:15:08 +11:00
2025-02-18 19:15:08 +11:00
2025-02-18 19:15:08 +11:00
2024-08-16 08:30:20 +10:00
…
2025-02-18 19:15:08 +11:00
2024-07-26 08:51:19 +10:00
…
2024-08-15 11:01:50 +10:00
2025-02-18 19:15:08 +11:00
2026-08-14 14:29:17 +01:00
2025-02-18 19:15:08 +11:00
2024-09-15 11:23:11 +10:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-02-18 19:12:51 +11:00
…
…
2024-01-08 13:25:21 +11: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 [email protected].

Languages
C 68.6%
C++ 12.5%
Shell 7.7%
Roff 4.9%
Makefile 3.4%
Other 2.8%