openssh
brew install opensshOpenBSD freely-licensed SSH connectivity tools
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 days | 49,062 |
|---|---|
| Downloads | 1,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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 7,877 | 15,080 | 49,751 |
Installs (--HEAD) | 12 | 28 | 84 |
| Installs on Request | 7,484 | 14,578 | 48,878 |
Installs on Request (--HEAD) | 12 | 28 | 84 |
| Build Errors | 59 |