🍺 BREW Explorer

← all formulae

sshpass

brew install sshpass v1.10 GPL-2.0-only

Command-line tool to supply SSH password non-interactively without prompting.

Why you might care

Automates SSH logins when public-key auth isn't available or practical, enabling scripted remote commands and file transfers. Useful for one-off connections to legacy systems or in automation pipelines where key exchange is impractical, though SSH keys remain the preferred approach for security.

Categories

Alternatives

ssh-keygen expect ansible
9.1k
30-day installs · #377
30.2k
90-day · #392
69.9k
365-day · #539

Links

Caveats

Sshpass is a tool for non-interactively performing password authentication
with SSH's so called "interactive keyboard password authentication".
Most users should use SSH's more secure public key authentication instead.

See `man sshpass` for more information.

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "ssh-keygen",
    "expect",
    "ansible"
  ],
  "build_dependencies": [],
  "categories": [
    "ssh",
    "networking"
  ],
  "caveats": "Sshpass is a tool for non-interactively performing password authentication\nwith SSH\u0027s so called \"interactive keyboard password authentication\".\nMost users should use SSH\u0027s more secure public key authentication instead.\n\nSee `man sshpass` for more information.\n",
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Non-interactive SSH password auth",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:50+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "sshpass",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://sourceforge.net/projects/sshpass/",
  "homepage_og_description": "Download Non-interactive ssh password auth for free.  Sshpass is a tool for non-interactivly performing password authentication with SSH\u0027s so called \"interactive keyboard password authentication\". Most user should use SSH\u0027s more secure public key authentiaction instead.",
  "homepage_og_image": null,
  "homepage_title": "Non-interactive ssh password auth download | SourceForge.net",
  "installs_30d": 9068,
  "installs_365d": 69930,
  "installs_90d": 30173,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-only",
  "llm_generated_at": "2026-06-20T23:44:29+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "sshpass",
  "oldnames": [],
  "one_liner": "Command-line tool to supply SSH password non-interactively without prompting.",
  "optional_dependencies": [],
  "rank_30d": 377,
  "rank_365d": 539,
  "rank_90d": 392,
  "raw_hash": "a7698d8acd7032be",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/sshpass.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.10",
  "versioned_formulae": [],
  "why_use_this": "Automates SSH logins when public-key auth isn\u0027t available or practical, enabling scripted remote commands and file transfers. Useful for one-off connections to legacy systems or in automation pipelines where key exchange is impractical, though SSH keys remain the preferred approach for security."
}