openssh

Install command:
brew install openssh

OpenBSD freely-licensed SSH connectivity tools

https://www.openssh.com/

License: SSH-OpenSSH

Development: Pull requests

Formula JSON API: /api/formula/openssh.json

Formula code: openssh.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 10.6p1

Revision: 2

Depends on:

ldns 1.9.2 DNS library written in C
libfido2 1.17.0 Provides library functionality for FIDO U2F & FIDO 2.0, including USB
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit

Uses from macOS: mandoc (build), lsof (test), krb5, libedit, libxcrypt

Binaries: scp, sftp, slogin, ssh, ssh-add, ssh-agent, ssh-keygen, ssh-keyscan, sshd

Default host keys in $HOMEBREW_PREFIX/etc/ssh are regenerated once to replace keys
previously distributed in bottles. This also replaces locally generated keys.

Previous host keys are backed up in:
    $HOMEBREW_PREFIX/var/lib/openssh/host-keys-backup
Restore them only if you generated them yourself.

Restart any running Homebrew sshd to use the new host keys.
SSH clients may report changed host keys. Verify the new fingerprints
before updating their known_hosts entries.

GitHub Packages downloads:

Last 30 days49,062
Downloads1,804,036
Analytics install events (30 days)7,889
Downloads / install events (30 days)6.2×

Source: GitHub Packages, fetched 2026-11-03T00:39:49Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs7,87715,08049,751
Installs (--HEAD)122884
Installs on Request7,48414,57848,878
Installs on Request (--HEAD)122884
Build Errors59