🍺 BREW Explorer

← all formulae

libssh

brew install libssh v0.12.0_1 LGPL-2.1-or-later

C shared library implementing SSHv1/SSHv2 client and server protocols.

Why you might care

Link this into C/C++ applications that need SSH functionality without spawning external ssh processes. Lighter-weight than libssh2 in some use cases, actively maintained, and provides both client and server implementations. Primary value is as a build/runtime dependency for tools like rsync alternatives or custom SSH clients.

Categories

Alternatives

libssh2 OpenSSH
10.6k
30-day installs · #346
41.2k
90-day · #312
388.4k
365-day · #178

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "libssh2",
    "OpenSSH"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "ssh"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "openssl@3"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C library SSHv1/SSHv2 client and server protocols",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "libssh",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.libssh.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "libssh \u2013 The SSH Library!",
  "installs_30d": 10640,
  "installs_365d": 388450,
  "installs_90d": 41173,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-2.1-or-later",
  "llm_generated_at": "2026-06-20T23:44:18+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "libssh",
  "oldnames": [],
  "one_liner": "C shared library implementing SSHv1/SSHv2 client and server protocols.",
  "optional_dependencies": [],
  "rank_30d": 346,
  "rank_365d": 178,
  "rank_90d": 312,
  "raw_hash": "78a7d76fcfe0c877",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/lib/libssh.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.12.0",
  "versioned_formulae": [],
  "why_use_this": "Link this into C/C++ applications that need SSH functionality without spawning external ssh processes. Lighter-weight than libssh2 in some use cases, actively maintained, and provides both client and server implementations. Primary value is as a build/runtime dependency for tools like rsync alternatives or custom SSH clients."
}