U2 Secured SSH & Linux Two-Factor
A Linux package that adds phone-push or offline-code multi-factor authentication to SSH, sudo, su and the Ubuntu desktop login.
At a Glance
Free developer plan for the Linux SSH/sudo/desktop MFA package; 1 app, codes unlimited.
Engagement
Available On
Alternatives
Listed Dec 2026
About U2 Secured SSH & Linux Two-Factor
U2 Secured SSH & Linux Two-Factor is the Linux integration of the U2 Secured Authenticator, distributed as the u2auth package from a signed APT repository for Ubuntu 22.04/24.04 and Debian 12. It adds a second factor to SSH, sudo, su, the login screen, the lock screen and admin prompts, using either a phone push approval with number matching or a code from the authenticator app.
What It Is
The package plugs into PAM and sshd so that members of a chosen group must approve each sign-in on their phone. During an SSH login the terminal shows a number and the phone shows three; the user taps the matching one, then presses Enter or types a code instead. For sudo, su and the desktop login or lock screens, the prompt continues automatically once the phone approves.
How the sign-in flow works
Approvals can carry the approving phone's location, shown in the portal as city, region and country, and administrators can require a location before an approval counts. If a machine cannot reach U2 Secured, it asks for a code from the authenticator app or a single-use backup code, verified on the machine itself. SSH can also require a key first and then the approval.
Fleet management and safety
Each machine registers with a short-lived token and receives its own key. The developer portal lists machines and sign-ins, including offline ones reported once the machine is back online, and flags gaps in reports. The log can be downloaded as CSV or pulled through the server SDKs. Safeguards include gating only a chosen group, a named break-glass account, and refusal to uninstall while hand-added PAM lines still reference the package.
Setup path
Administrators install u2auth from the APT repository after checking the key fingerprint, create an app per fleet in the developer portal, register each machine and enroll users with u2auth-admin, then enable it for a group. A personal-laptop mode sets up local authenticator-app codes for sudo and the login screen without any U2 Secured account.
Collections
Popular collections
- Pick Up Where Your Agent Left Off
Collection by @caiovalverde
- Give Your Agent Design Taste
Collection by @linetwk
- UI Design Skills for Coding Agents
Collection by @mayachen
- Find the Ways Your AI App Can Fail Before Launch
Collection by @samirhaddad
Add U2 Secured SSH & Linux Two-Factor to one of your collections.
Community Discussions
Be the first to start a conversation about U2 Secured SSH & Linux Two-Factor
Share your experience with U2 Secured SSH & Linux Two-Factor, ask questions, or help others learn from your insights.
Pricing
Developer
Free developer plan for the Linux SSH/sudo/desktop MFA package; 1 app, codes unlimited.
- 1,000 active users
- 100 push approvals a month
- 1 app
- Codes are unlimited
Growth
Flat monthly price per account, not per user or machine.
- 25,000 active users
- 100,000 push approvals a month
- 5 apps
- Codes are unlimited
Team
Flat monthly price per account, not per user or machine.
- 75,000 active users
- 300,000 push approvals a month
- 20 apps
- Codes are unlimited
Scale
Flat monthly price per account, not per user or machine.
- 250,000 active users
- 1,000,000 push approvals a month
- Unlimited apps
- Codes are unlimited
Capabilities
Key Features
- Phone push approval with number matching
- Offline authenticator-app and backup codes verified locally
- MFA for SSH, sudo, su, login screen, lock screen and admin prompts
- Approval location shown as city, region and country
- Per-machine keys registered via short-lived tokens
- Sign-in log with CSV export and SDK access
- Group-based gating with break-glass account
- Uninstall protection when manual PAM lines reference the package
- Works with SSH keys plus approval
- Free local-only code mode for personal laptops
- Signed APT repository with Intel/AMD and ARM builds
