EN
DeutschEnglishРусскийEspañolFrançaisTürkçePortuguês (Brasil)PolskiČeština
Try for free
Passive monitoringAll features at a glanceAction listFile monitoringWeb attacksWordPress securityShop protectionVulnerabilitiesExternal exposure checkProcesses & networkLoginsCompromise checkContainersAI assessmentCalm instead of alert floodsServer healthAgencies & hostersActive defenseActive defense overviewIP blockingSSH approval via apptyrosec appExecution guardServer isolationOne-click hardeningQuarantine & cleanupPricingSecurity & privacyLog in
Active defense · Pro

New SSH login? Only once you approve it on your phone.

With SSH login approval, every new login to your server waits until you confirm it in the tyrosec app – with your fingerprint or PIN. A stolen key or a guessed password alone is no longer enough.

The problem

A stolen key opens the door.

SSH keys live on laptops, in CI systems and in backups; passwords get guessed or phished. Whoever has one logs in just like you – and no log tells them apart from you.

Classic two-factor setups for SSH mean one-time codes, changes to the sshd configuration and the risk of locking yourself out with one mistake. Deploy scripts that run at night without a human don’t fit in well.

Our solution

Approve instead of typing codes.

When someone logs in via SSH, the agent asks you before the session starts: server, user and IP address with country appear in the app. You tap “Allow” or “Deny” – after fingerprint or device PIN. The answer is signed with a key that never leaves your phone’s secure hardware, and the agent verifies the signature itself: even a compromised central server could not approve a login.

Deploy users or your office network can be exempted; those logins go through without asking. Approval only applies to SSH – su, sudo and your hoster’s console stay untouched.

How an approval works

  1. 01Get the app and sign inDownload the Android app in the control center under Settings › Phones and sign it in by scanning the QR code shown there.
  2. 02Pair and switch onConfirm the phone on the server with the code shown (sudo tyrosecd devices add CODE), then run sudo tyrosecd ssh-approval enable – locally only, never from the central server. Without an approved test login, the server undoes the change itself after 5 minutes.
  3. 03Log inOn your next SSH login, the request appears on your phone within a few seconds. After “Allow”, the login continues immediately.
  4. 04Deny or ignore“Deny” closes the connection and raises an alert. Without an answer, the login is denied after about a minute.

Exceptions and fail-safety

  • Exceptions for automationUsers and networks, for example for deploys or backups, log in without approval: sudo tyrosecd ssh-approval allow-user NAME or allow-net NET.
  • SSH onlyApproval only affects the SSH service. Your hoster’s console, su and sudo work as always.
  • Agent stopped or hangingIf the agent is not running, approval lets logins through immediately; if it hangs, after about a minute at the latest – and logs them. A fault in the agent never locks you out.
  • Central server unreachableExceptions keep working. Other logins wait for approval; after 10 minutes without the central server, safe mode switches approval off and logins go through without asking again.
  • Emergency switchsudo tyrosecd ssh-approval disable or sudo tyrosecd safe-mode on switches approval off immediately.
  • Tunnels tooConnections only used for port forwarding (ssh -N -L …) need approval as well.

The tyrosec app for Android

  • Approve SSH loginsRequest with server, user, IP address and country; approval after fingerprint or PIN.
  • Attack notificationsCritical alerts and measures taken arrive as notifications on your phone.
  • Undo measuresUndo IP blocks, held processes, isolations, hardenings and quarantines (as long as the file content is stored in the control center) straight from the notification – signed like every approval.
  • Download and sign-inGet the app in the control center under Settings › Phones and sign it in there with a QR code. Logins per server are shown under Login security. Everything about the app: tyrosec app for Android.

Questions about SSH approval

Is this two-factor authentication for SSH?

It is a second factor: besides a key or password, a login needs approval on your paired phone, signed with a key from its secure hardware. Unlike one-time codes, there is nothing to type. Your sshd_config stays unchanged; tyrosec adds one line to /etc/pam.d/sshd.

Does approval also apply to logins with SSH keys?

Yes. A key is a file – whoever copies it can log in as you. Approval is checked in the PAM “account” phase, which runs on every login, including key-based ones.

What do I need on the server?

OpenSSH with PAM (UsePAM yes, the default on common distributions) and the tyrosec agent from version 0.9.0. On servers without PAM, for example with Dropbear, tyrosec does not offer approval.

Is the app available for iPhone?

The tyrosec app is currently available for Android only.

What if I lose my phone?

Log in via your hoster’s console or from an exempted address and switch approval off with sudo tyrosecd ssh-approval disable. Remove the lost device with sudo tyrosecd devices remove CODE and pair a new one.

More features

See what’s happening on your server in two minutes.

Install the agent with a one-liner, wait for the initial scan, done. 14 days free, up to 3 servers, no credit card required.