sshpass
« Back to VersTracker
Description:
Non-interactive SSH password auth
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: ssh automation authentication cli networking
Install: brew install sshpass
About:
Sshpass is a command-line utility that enables non-interactive SSH password authentication. It allows users to supply passwords directly from scripts or the command line, bypassing the need for manual input. This is particularly useful for automating SSH connections in environments where key-based authentication is not feasible.
Key Features:
  • Non-interactive password input for SSH
  • Supports passing passwords via command-line arguments or files
  • Lightweight and simple to integrate into scripts
  • Compatible with standard OpenSSH client options
Use Cases:
  • Automating SSH logins in shell scripts for batch operations
  • Integrating with CI/CD pipelines for remote server provisioning
Alternatives:
  • ssh-askpass – Provides GUI-based password prompts, whereas sshpass is purely command-line focused.
  • SSH keys – More secure for automation but requires key setup; sshpass is a fallback for password-only environments.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 12:00pm 0 VERSION_BUMP e1346714