Two-step sign-in
Two-step sign-in protects your ZestSSH account. After your password, or Google, Apple, Microsoft or your company, signing in also asks for a second step: a passkey, or a six-digit code from an authenticator app. Someone who learns your password, or gets into your Google or Apple account, still cannot sign in as you.
Your account uses one kind or the other: up to 10 passkeys, or one authenticator app. Any one of your passkeys passes the second step, and your backup codes work with either. To change kinds, add the other: ZestSSH asks first, and the new one replaces the old (see Passkeys or an authenticator app).
Two-step sign-in is a free feature for every ZestSSH account.
Where to find it
Section titled “Where to find it”Two-step sign-in is in the Security section of the Account page:
- On a computer: Settings > Account.
- On a phone: More > Account.
The section shows Two-step sign-in (with On and Turn off once it is on), Passkeys, Authenticator app and Backup codes. Before you sign in, it shows Needs an account, and Recover your account for an account whose second step is lost.
Passkeys
Section titled “Passkeys”A passkey lets you sign in with your face, fingerprint, screen lock or a security key instead of a code. A look-alike site cannot use it: your device offers it only to zestssh.com and the ZestSSH app. A passkey syncs with your password manager, or stays on one device or key.
| Your device | Where a passkey is made |
|---|---|
| Android 9 and later | In the app, with the system’s passkey window |
| iPhone and iPad, iOS 16 and later | In the app, with the system’s passkey window (iCloud Keychain or a security key) |
| Windows | In the app, with Windows Hello, a security key or your phone |
| Mac, Linux and a Windows without passkey support | In your browser, on zestssh.com/account/security: a security key, your phone or your password manager |
| Android 8 and iOS 15 | Nowhere: “This device cannot make passkeys. Add one on a newer phone or on a computer: you can still remove them here.” |
A passkey made on one device works on any other that can reach it, such as one in a password manager, on a security key, or on your phone by its QR code from a computer’s browser.
Add a passkey
Section titled “Add a passkey”On a phone, a tablet or Windows:
- In Security, choose Add a passkey.
- If this is your first second step, ZestSSH says what happens next (see Turning it on). Choose Continue. If your account has an authenticator app, ZestSSH first asks whether the passkey should replace it (see Passkeys or an authenticator app).
- Give it a Name you will know it by, such as the device or the key it is on. ZestSSH offers one, such as Passkey on Android or Windows Hello. Choose Continue.
- For your first passkey, or if your last sign-in was a while ago, confirm it’s you: a phone signs in again, and a computer’s browser opens.
- Finish in the system’s window. ZestSSH says Passkey added with its name.
On a Mac or Linux, where the browser makes it:
- In Security, choose Add a passkey. ZestSSH says your browser opens to confirm it’s you. Choose Continue.
- Sign in on the page that opens, name the passkey there and add it.
- Go back to ZestSSH, which says “Passkey added in your browser.” If you go back before adding one, it says nothing changed.
Your passkeys
Section titled “Your passkeys”Each passkey in the list shows its name, what kind it is (Passkey, Security key or Built into a device), whether it syncs (Synced, Not synced, Stays on the key, Stays on that device) and the day it was added. ZestSSH keeps no record of when one was last used.
- Rename gives it a new name, of 1 to 64 characters.
- Remove takes it off your account, after asking. ZestSSH says so when it is your last passkey, or your only second step. A removed passkey stays in your password manager or on your key until you delete it there, but it no longer signs you in.
Your account holds at most 10 passkeys. ZestSSH emails you whenever one is added or removed, and removing one signs out your other devices.
Authenticator app
Section titled “Authenticator app”An authenticator app shows a six-digit code that changes every 30 seconds. Any app that reads a QR code or takes a typed key works, such as Google Authenticator, Microsoft Authenticator, 1Password or Bitwarden.
On a phone or a tablet:
- In Security, choose Set up next to Authenticator app.
- Choose Continue, then sign in again to confirm it’s you. If your account has passkeys, ZestSSH first asks whether the app should replace them (see Passkeys or an authenticator app).
- Scan the QR code with your authenticator app, or choose Open in authenticator app. An app that cannot scan takes the key shown under Can’t scan it? Enter this key instead:, which Copy key copies (it leaves the clipboard after 45 seconds).
- Enter the six-digit code the app shows and choose Turn on.
ZestSSH files the account in your authenticator app under the name ZestSSH and your email address.
On a computer: choose Open zestssh.com next to Authenticator app. It opens zestssh.com/account/security, where you sign in and choose Set up an authenticator app.
With Recording mode on, the QR code, the key and the backup codes are hidden (“Hidden while recording mode is on.”) until you choose Show.
Remove next to Authenticator app takes it off your account, after asking. It is your only second step, so two-step sign-in turns off with it, and your backup codes stop working.
Passkeys or an authenticator app
Section titled “Passkeys or an authenticator app”An account uses passkeys or an authenticator app, not both: the sign-in service ZestSSH uses, Firebase Authentication, holds one authenticator-style second step per account, and your passkeys take that place (see Things to know). Your backup codes keep working whichever you use.
- A passkey in place of your authenticator app: choose Add a passkey. ZestSSH asks Replace your authenticator app with a passkey? Once the passkey is added, codes from your authenticator app stop working, and your other devices are signed out. On a Mac or Linux, the page on zestssh.com asks the same, and this computer signs in again with the passkey.
- An authenticator app in place of your passkeys: on a phone or a tablet, choose Use an app instead next to Authenticator app. ZestSSH asks Replace your passkeys with an authenticator app? Your passkeys are removed as you finish setting up the app, and your other devices are signed out. If the sign-in service sets the app up only once your passkeys are gone, ZestSSH asks Remove your passkeys first?: two-step sign-in is then off until you finish, and stays off if you stop before that, until you set the app up or add a passkey again. On a computer, zestssh.com does this.
Turning it on
Section titled “Turning it on”Your first second step, a passkey or an authenticator app, turns two-step sign-in on:
- Your other devices are signed out, since they signed in without it, and sign in again with it. ZestSSH says how many. Their hosts and keys stay on them.
- This device signs in again with your new second step.
- You save your backup codes (see below). Choose Done when they are safe. On a Mac or Linux, the page in your browser shows them.
- ZestSSH emails you that it is on.
Adding another passkey signs nobody out. Replacing one kind with the other signs your other devices out.
Signing in
Section titled “Signing in”After your password, or Google, Apple, Microsoft or your company, ZestSSH asks for your second step. On a computer, your browser asks for it.
- A passkey: choose Use your passkey, then finish in the system’s window: on this device, a security key or your password manager.
- A code: type the code your authenticator app shows now (“Enter the 6-digit code from your authenticator app.”) and choose Continue. A code from a minute before or after still works, for phone clocks that drift a little.
Under them are the other ways you have: Lost your second step? Use a backup code, and No backup code either? Recover your account.
If your passkeys cannot be used on this device, for example an older phone, ZestSSH says so and offers a backup code, or signing in on a device that has your passkey.
Signing in again to confirm a change, such as signing out another device or deleting your account, asks for your second step too.
If something goes wrong, ZestSSH says what to do, with a code and Copy details for support:
- “Too many tries. Wait a few minutes, then try again.”, or a wait of its own: wait before the next try.
- “Too many passkey tries for this account, so its passkey step is paused for …”: use a backup code, or try later.
- “That passkey was refused because it may have been copied.”: its signature count went backwards, which a real key does not do. Sign in another way, then remove that passkey. ZestSSH emails you about it.
Confirm it’s you with a passkey
Section titled “Confirm it’s you with a passkey”Some changes ask for a recent sign-in: a team’s changes (the last two hours), and replacing your keys or signing a device out (the last ten minutes). Where your account has a passkey and this device can use it (Android 9 and later, iOS 16 and later, Windows with Windows Hello), Confirm it’s you offers Use your passkey: your device’s own check instead of a whole sign-in. Sign in another way is right there too.
- It counts on this device only, for the same two hours or ten minutes as a sign-in.
- The device has to check it is you: your face, fingerprint, screen lock or the key’s PIN. A security key with no PIN set cannot do it, so use Sign in another way.
- A passkey does not replace signing in for what changes how you sign in (your passkeys, two-step sign-in, backup codes), for deleting your account, or for resetting cloud sync.
- A team’s Sign-in lasts counts it too, unless the team requires company sign-in.
On the Mac and Linux the app has no passkey of its own, so Confirm it’s you opens the browser. The page says it is confirming it’s you, fills in your address and shows the way you signed in first, with Sign in another way for the others.
After a sign-in that Confirm it’s you asked for, an account with no passkey is told once, in a notice, that a passkey makes this one tap. Nothing changes unless you add one.
Backup codes
Section titled “Backup codes”ZestSSH gives you ten backup codes, like 7k2mq-x9d4t: ten characters of letters and digits, in two groups of five. They are for the day you lose your second steps: a new phone, a wiped phone, a lost key.
- Each code works once. Using one turns two-step sign-in off for your account: your passkeys or your authenticator app, and all your other codes, stop working with it. Sign in as before, then set two-step sign-in up again.
- They are shown only once, in Save your backup codes. Copy codes copies them (they leave the clipboard after 45 seconds). Save as a file saves
ZestSSH_Backup_Codes.txtwith your email address and the codes. On a computer the file is readable only by your user account; if ZestSSH cannot make it so, it deletes the file and says so. Keep them somewhere safe, apart from your devices. - ZestSSH emails you when a backup code is used, at your account’s address, and your other devices are signed out. If it was not you, change your password (or secure your Google or Apple account), set two-step sign-in up again, and choose Sign out everywhere under Devices.
- New codes replace the old ones at once. In Security, choose New codes next to Backup codes, then Make new codes. The row says how many codes you have left. Making codes needs a sign-in from the last ten minutes, so ZestSSH may ask you to confirm it’s you first.
To use one on a phone or a tablet:
- At the second step, choose Lost your second step? Use a backup code.
- Check your Email address and enter the Backup code. Spaces, dashes and capital letters do not matter, and o, i and l are read as 0, 1 and 1.
- Choose Turn off and sign in.
On a computer, the website’s sign-in page takes the backup code.
A wrong code and an address that does not match get the same answer: “That backup code did not work. Check the email address and the code.” After ten tries in an hour from one internet address, ZestSSH asks you to wait.
Lost everything: recover your account
Section titled “Lost everything: recover your account”If you lost your passkeys or your authenticator app, and every backup code, you can still get back in, after a week, and every signed-in device is told in the meantime. The week is what makes it safe: someone who only got into your email cannot do this quietly.
Open Recover your account from No backup code either? Recover your account at the second step, from Can’t pass two-step sign-in? Recover your account on the sign-in screen, or with Recover in Security while signed out.
- Enter your email address and choose Send the code. If the address has an account that can be recovered this way, a code goes there. It works for half an hour.
- Enter the Code from the email and choose Start the recovery. The recovery now waits seven days, on this device. ZestSSH says on which day it can be completed, and emails the address now and again the day before.
- From that day, within the next seven, open Recover your account on this device again: Complete your recovery.
- With your sync password: enter your Sync password and choose Keep my data. Your synced data stays. You have ten tries.
- Without it: choose I don’t know my sync password: reset the account, read what it does, and choose Reset and recover. Your account has no way to keep the data without that password: ZestSSH cannot read it.
- Either way, two-step sign-in is turned off and every device is signed out. Sign in with your password, Google, Apple or your company, then set two-step sign-in up again.
A reset:
- Your synced data is set aside, where nothing reads it, and deleted after 30 days.
- Your keys in your teams are dropped, and each team’s owners and admins are told: someone there gives you access again.
- Every device is signed out, and each is approved again.
- What is on your devices stays: their hosts and keys are not touched.
An account with no synced data, or for which no device ever saved a recovery proof, can only be reset. A device saves that proof whenever you type your sync password in ZestSSH, and where your account has none yet, Security asks for it once: Keep your data in a recovery, then Type it.
An account that signs in through your company is recovered by your company’s sign-in service: ask your IT team.
If you did not ask for it
Section titled “If you did not ask for it”Every device signed in to your account says Someone asked to recover your account, in the bell and in Security, with the day it can be completed. Choose This wasn’t me: the recovery ends at once, with no new sign-in, and ZestSSH emails you to confirm.
Then change the password of your email account, and your ZestSSH password if you have one: whoever asked had a code sent to your email address.
Signing in with your password and your second step also ends a waiting recovery.
Turn it off
Section titled “Turn it off”In Security, choose Turn off next to Two-step sign-in, confirm in Turn off two-step sign-in?, and confirm it’s you. Your passkeys or your authenticator app, and your backup codes, are all removed from your account, and your other devices are signed out. Signing in then needs only your password, Google, Apple or your company.
Removing your only second step does the same, and says so first.
When a change signs your other devices out
Section titled “When a change signs your other devices out”Each of these signs out your other devices and emails you. The device says why, and that its hosts and keys are still there:
| What changed | What the device says |
|---|---|
| Two-step sign-in turned on | Signed out: two-step sign-in is on (only devices that signed in without it) |
| A passkey or an authenticator app removed, or one kind replaced by the other | Signed out: a second step was removed |
| Two-step sign-in turned off | Signed out: two-step sign-in is off |
| A backup code used | Signed out: a backup code was used |
| The account recovered | Signed out: your account was recovered |
| The password or way of signing in changed | Signed out: your sign-in changed |
If you did not make the change, sign in, set two-step sign-in up again, change your password, and see Signed-in devices.
How you sign in
Section titled “How you sign in”Next to two-step sign-in, How you sign in lists the ways your account signs in, such as Google, Apple and Password. “Any of these signs you in to this account.”
An account made through Google or Apple has no password at first: “No password yet. Set one to also sign in with your email address.” Set a password emails you a link to choose one. Once it has a password, the button says Change password and emails the link the same way.
Things to know
Section titled “Things to know”- A second step alone signs no one in. A passkey or a code answers the second step, after your password, Google, Apple or your company. A backup code only turns two-step sign-in off; signing in still needs the first step.
- Your synced data is separate. Two-step sign-in protects the account. Your synced hosts and keys stay encrypted with your sync password, which ZestSSH never has. See Recovery key and recovery kit.
- What ZestSSH keeps of a passkey: its public key and ID, the name you gave it, its kind, whether it syncs, its signature count and the day it was added. The private key never leaves your device, your password manager or your key.
- What ZestSSH keeps of backup codes: only a keyed hash of each (HMAC-SHA256, under a key that is not in the database), never the codes themselves.
- Your authenticator’s secret: held by Firebase Authentication, which checks the codes. ZestSSH never sees it.
- How a passkey works with Firebase: Firebase Authentication knows only authenticator-style second steps. So an account with passkeys also has one called Passkey, which you never see or type, and since Firebase holds one such step per account, an account uses passkeys or an authenticator app, not both. ZestSSH Cloud holds its secret, encrypted by a key in Google Cloud KMS that its database does not hold. A passkey checked at sign-in releases one code, for that one sign-in.
- The recovery proof: a public key derived on your device from your sync password’s key. It lets you prove that password in a recovery without sending it.
- Nothing records when you sign in, when codes are made or used, or when a passkey is used. A recovery someone asked for is kept only while it waits.