OpenSSH 10.6
OpenSSH 10.6 enables the hybrid ssh-mldsa44-ed25519 post-quantum signature algorithm, adds WarnWeakCrypto to sshd, fixes an sftp path traversal and a compression plaintext recovery attack, and deprecates scp -R. Use the 10.6p2 portable tarball: 10.6p1 is affected by CVE-2026-123158.
Download TAR.GZ Project website ↗Download Mirrors
Security notice. The original 10.6p1 portable tarball is affected by CVE-2026-123158, an authentication bypass on musl-based Linux systems that do not use PAM. It was exploited within hours of disclosure and is listed in CISA KEV. Use 10.6p2, which the mirror above now points to.
OpenSSH 10.6 was released on October 6, 2026, following OpenSSH 10.5. We covered it in the news.
What changed
- The hybrid
ssh-mldsa44-ed25519post-quantum signature algorithm is enabled; keys from the earlier experimental variant must be regenerated WarnWeakCryptoin sshd logs clients using non-post-quantum key exchange- sftp validates server paths so recursive downloads cannot escape the target directory
- LZ77 compression is disabled to block a plaintext recovery attack
- Command-line usernames containing
$or\are rejected scp -Ris deprecated
Should you build it?
Almost never. Use your distribution’s OpenSSH packages, which receive security fixes without replacing the system’s configuration. Building from source is for packagers and testing:
tar xzf openssh-10.6p1.tar.gz && cd openssh-10.6p1
./configure --prefix=/opt/openssh
make && sudo make install
Our SSH hardening guide covers configuration either way.
Verify Your Download
Each tarball on the OpenBSD mirror has a matching .asc signature from the OpenSSH release key, and SHA256 checksums are listed in the release notes.