duo_unix
« Back to VersTracker
Description:
Two-factor authentication for SSH
Type: Formula  |  Latest Version: 2.2.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @duosecurity  |  formulae.brew.sh
Category: Security
Tags: ssh 2fa security authentication pam
Install: brew install duo_unix
About:
Duo Unix integrates Duo Security's two-factor authentication (2FA) into Linux login processes, specifically SSH and console access. It acts as a Pluggable Authentication Module (PAM), requiring users to verify their identity via a secondary method like a mobile app or SMS before granting access. This significantly hardens server security beyond standard password or key-based authentication.
Key Features:
  • PAM integration for easy setup on Linux systems
  • Supports multiple authentication methods (push, SMS, phone call, hardware token)
  • Provides detailed logging and audit trails for access attempts
  • Allows granular access policies based on user groups or IP addresses
Use Cases:
  • Securing SSH access to production servers and critical infrastructure
  • Enforcing 2FA for system console logins on Linux hosts
  • Complying with security standards that require multi-factor authentication
Alternatives:
  • Google Authenticator PAM – Open-source TOTP solution; requires users to manually enter codes rather than receiving push notifications.
  • Okta Verify – Enterprise Identity Provider (IdP) feature; requires full Okta subscription rather than a standalone integration.
License: GPL-2.0-or-later
Dependencies: openssl@3, linux-pam
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Dec 10, 2025 5:00pm 0 VERSION_BUMP 7018b1ff
Nov 3, 2025 11:22pm 0 VERSION_BUMP 98483d24
Sep 13, 2025 3:45pm 0 VERSION_BUMP f1e72f34
Oct 31, 2024 2:26am 0 VERSION_BUMP 988ea119
Oct 30, 2024 6:23pm 0 VERSION_BUMP 6a6d4461