Skip to content

Troubleshooting setup

This page covers the most common problems when you set up ZestSSH for the first time.

When a connection fails, ZestSSH says what went wrong and what to try, in your language. Retry connects again, and Technical details holds the full report with Copy details: what failed, the error, and the connection’s log, with names, addresses and secrets taken out, so you can paste it to support safely.

Symptoms: you connect and get an error within a few seconds. The terminal never opens.

Check these first:

  1. The address and port are right. A typo in the address or a wrong port is the most common cause. SSH uses port 22 unless the server is set up for another.

  2. The server is reachable from your network. On mobile data, your carrier may block outgoing connections on port 22: try Wi-Fi. On a company network, a firewall may block SSH.

  3. The name resolves. If you use a name (not an IP address), check that it resolves. Try the IP address instead to rule out DNS.

  4. The SSH service runs on the server. Log in another way (a console, a web terminal) and check:

Terminal window
systemctl status sshd

If it is stopped, start it:

Terminal window
sudo systemctl start sshd

Symptoms: the host uses a key, but the server refuses it, and either asks for a password or disconnects.

Common causes:

  1. The public key is not in authorized_keys. Let ZestSSH add it with Install on hosts… (on a computer in Keys; on a phone in the key’s editor, from Manage > Keys), or copy the public key and add it by hand: Copy public key in Keys on a computer, or a long press on the key and Share public key on a phone. Copy the whole line, with its type at the start (ssh-ed25519, ssh-rsa and so on). See Key management.

  2. File permissions are wrong. OpenSSH is strict about them. On the server, run:

Terminal window
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

The .ssh folder must not be writable by the group or others, and authorized_keys must be writable only by its owner.

  1. The wrong key is picked. In the host form, check the Key field. If the host has other keys, connecting uses the one in that field; the others are only used through Connect as.

  2. The server does not take the key type. Servers older than OpenSSH 6.5 do not take Ed25519. For such a server, generate an RSA-4096 key instead.

  3. An RSA key and a very old server. ZestSSH signs with an RSA key the way the server says it takes (SHA-512, then SHA-256). A server that takes only the old SHA-1 signatures needs Compatibility mode for that host: in the host form, under Auth on a computer, or behind Advanced options on a phone. Turn it on only for servers that cannot be updated: what it adds is older and less secure.

  4. A passphrase problem. A wrong passphrase stops the import of a key, so a key that imported is not damaged. If the passphrase saved with a key is wrong, ZestSSH asks for it again when you connect.

Symptoms: internet-facing servers connect, but devices on your local network (for example a Raspberry Pi at 192.168.20.20) do not.

On a phone:

  • Make sure the phone is on the same Wi-Fi network as the device.
  • On an iPhone or iPad, ZestSSH needs Local Network access to reach servers on your network. If you declined it, turn it on in the iOS Settings app, under Privacy & Security > Local Network.
  • Client isolation (AP isolation) on your router or a guest network can block traffic between devices. Check your router’s settings.

On a computer (Windows, macOS, Linux):

  • Check that a firewall does not block outgoing connections on port 22. On Windows, check Windows Defender Firewall. On macOS, check the firewall in System Settings > Network.
  • If the device is on another subnet or VLAN, you may need a route to it.

Everywhere:

  • Ping the device’s IP from another app or a terminal to confirm the network reaches it.
  • Check that the SSH server listens on all interfaces (0.0.0.0), not only 127.0.0.1. Look at the ListenAddress line in /etc/ssh/sshd_config.

On a computer, Sign in opens zestssh.com in your browser. While ZestSSH waits for you to finish there, it shows Check your browser over the window, with:

  • Open again, when the page did not open or you closed it;
  • Copy link, to paste the page into another browser;
  • Cancel, to stop waiting.

It goes by itself once you are signed in. When no browser opened at all, it says so at once: copy the link and paste it into a browser. ZestSSH waits up to 15 minutes, long enough for a company sign-in with its second step.

The sign-in code. While it waits, Check your browser also shows a code of six letters and numbers, such as K7P 2QX. Before zestssh.com signs you in, it asks for that code: type it there (upper or lower case, with or without the space). This makes sure the sign-in goes to the ZestSSH you started it from, not to another program on the same computer. Never type a code that someone sent you. If the page asks for a code and ZestSSH shows none, close the page and start again from the app. After five wrong codes the page refuses the link: start again from the app. Adding a passkey in the browser asks for no code.

This version of ZestSSH is too old to sign in: ZestSSH before 3.3 shows no code. Update it (from its update notice or the download page; a Microsoft Store copy through the Store), then sign in again.

Symptoms: ZestSSH shows Database error instead of opening: “ZestSSH couldn’t open its database.”

ZestSSH keeps your data in an encrypted SQLite database (SQLCipher). If it cannot be opened, the screen offers:

  • Retry: tries to open the database again.
  • Show in folder (computers): opens the folder that holds the database.
  • Contact support: writes to support with the details of the error.
  • Set this aside and start fresh (computers): moves every saved host, key, password, snippet and setting to a folder of its own on this computer and starts fresh. Nothing is deleted, and Put it back undoes it.
  • Reset database (phones): sets the same aside on the device, with the key that opens it, and starts fresh. Nothing is deleted. It asks first, and you confirm with Set aside and start fresh; to get the old data back, write to support with the details.
  • Technical details: the report of the error, with Copy details. Include it in a bug report.

The most common causes are another copy of ZestSSH that is still running, or an update or downgrade that just happened. Close every other ZestSSH window, then Retry. On Windows, if no window is open, end any leftover zestssh.exe in Task Manager first. See Common errors.

Start fresh only as a last resort. Nothing is deleted (since 3.3.3), but the app opens empty: what you synced comes back with sync, and a .zest backup can be restored.

Other causes:

  1. Not enough storage. The device needs free space to create the database. Free up some space and retry.

  2. Leftover files. If ZestSSH was uninstalled without its data being removed, old files may get in the way. Clear the app’s data in your device settings, or uninstall and install again (this removes what was saved on the device).