Importing from other apps
ZestSSH brings hosts in through one Import hosts dialog. Import a file, at its top, works out what a file is by itself. It reads an SSH config file, PuTTY’s saved sessions (on Windows from the registry, anywhere from a .reg file), MobaXterm, SecureCRT, FileZilla and WinSCP exports, Termius (through a free export tool), a CSV file, a list you paste, a host someone shared as a .zest file or a share link, and six cloud and infrastructure accounts. Keys come in from the Keys page, including PuTTY .ppk files.
FTP and FTPS sessions come in as FTPS hosts, never as plain FTP, and their passwords are never read. See FTP comes in as FTPS.
Every plan can save any number of hosts, so nothing you import is cut off by a limit.
Where to find Import hosts
Section titled “Where to find Import hosts”On a computer:
- On the Hosts page, open the arrow beside New host (More ways to add) and choose Import hosts (“SSH config, PuTTY, CSV, a cloud account”). The same menu has From a shared host file and Paste a share link.
- Or open the command palette and choose Import hosts. The palette also has Import hosts from a CSV file, Import SSH config and, on Windows only, Import PuTTY sessions.
- On macOS, the File menu has Import hosts and Import SSH config….
On a phone: open More, then Settings, then Backups and data, then Import data. That sheet has:
- Import a file: choose a file, and ZestSSH works out what it is. See Import a file.
- Restore from backup (.zest): a full ZestSSH backup.
- SSH config file: the SSH config import.
- Hosts from a cloud: opens the full Import hosts dialog, with every source below.
- CSV file: the CSV import.
- PuTTY private key (.ppk): a
.ppkkey without a passphrase.
Import a file
Section titled “Import a file”You do not need to know what a file is, or which app wrote it. At the top of Import hosts, drop the file on Drop a file here, or choose one, or choose Choose a file and pick it (a phone has Import a file with Choose a file). ZestSSH looks at what is in the file, whatever its name, and says what it found, with It is something else… to correct it:
| It says | What happens |
|---|---|
| “Looks like a ZestSSH backup. Import it?” | Import it restores it, with the backup’s own questions first. See Encrypted backups |
| “Looks like a host shared from ZestSSH. Add it?” | Import it shows the host in Add this host? |
| “Looks like an SSH config. Import its hosts?” | Import it lists its hosts, as SSH config file does |
| “Looks like PuTTY sessions exported from the Windows registry. Import them?” | Import it lists its sessions. See From a .reg file |
| “Looks like a MobaXterm export. Import its sessions?” (or SecureCRT) | Import it lists its sessions |
| “Looks like a FileZilla export. Import its sites?” | Import it lists its sites |
| “Looks like a WinSCP configuration. Import its sites?” | Import it lists its sites |
| “Looks like a CSV file of hosts. Import them?” | Import it lists its hosts |
| “Looks like a private key. Add it to your keys?” | Import it asks for the passphrase if it has one, then opens the key’s editor. The key’s contents are read only to tell what it is, and again once you say so. No other import can be chosen for a file that is only a key |
| “Looks like a public key or a certificate. On its own it cannot sign you in: a key needs its private part. Keys is where to add that.” | Nothing to import. Open Keys goes there |
| “Looks like a known_hosts file: the keys of servers you connected to, not hosts to save. ZestSSH keeps its own list: it asks the first time it connects to a host, and stops if a key changes. There is nothing to import from it.” | Nothing to import |
| “Looks like a ZestSSH share link. Add its host?” | Import it shows the host in Add this host? |
| “Could not tell what this file is” | Under It is something else…, choose which app or format it comes from, and ZestSSH reads it as that |
A ZestSSH backup is told by the ZEST and the version number at its start, whatever the file is called; a text file that starts with those letters is not one. A private key is told in any form: OpenSSH, PEM, PuTTY, SSH.com or SecureCRT, PGP, or binary DER, PKCS#12 included. A comment that only names a key’s first line does not make a file a key, and the old SSH 1 key’s first line counts only at the very start of a file. A file with a private key in it and other text as well says it looks like a private key, and It is something else… still lets you read the rest of it as hosts: the key is left out. A share link may have comment lines around it: only the link goes on.
The sources below stay, for when you know what you have. If you choose one and pick a file that is for another, it says so (“This file is not for: SSH config file”), says what the file is, and Import it hands it to the right import, with nothing of it read as hosts. A file with a private key in it and other text as well also offers Read the rest: “The file holds other text as well. Read the rest reads that as SSH config file, with the key left out.” Nothing is read until you choose it, and none of the key is listed or shown. The CSV, MobaXterm, SecureCRT, FileZilla and WinSCP imports read another app’s export as what it is, and say “Read as MobaXterm: that is what this file is, not SecureCRT.”
The sources
Section titled “The sources”Under the drop zone, Import hosts shows its sources as tiles in two groups, each with its app’s mark, its name and a line of what it reads. Click or tap one to go on. Paste a list and Paste a share link are quiet rows under them.
From another app
| Source | What it reads |
|---|---|
| SSH config file | Hosts from ~/.ssh/config, or a file you choose |
| PuTTY sessions | Saved sessions from this PC’s registry on Windows; elsewhere, from a .reg file exported on Windows |
| MobaXterm | Its sessions, folders as groups |
| SecureCRT | Its sessions, from an exported settings file |
| FileZilla | Its Site Manager, folders as groups |
| WinSCP | Its sites, from WinSCP.ini |
| Termius | A guide to termius-export, a free, open-source tool, then the SSH config file it writes |
| CSV file | Hosts from a spreadsheet, one on each line |
| ZestSSH host file | A host someone shared from ZestSSH, as a .zest file |
| Paste a share link | A host someone shared from ZestSSH, as a zestssh:// link |
| Paste a list | One host per line, from an app with no export |
From the cloud: AWS EC2, DigitalOcean, Hetzner Cloud, Azure, Tailscale and Proxmox VE. See Import hosts from a cloud.
Need to import something else? Let us know, beside Cancel at the foot, opens a suggestion to the ZestSSH team.
Welcome: sign in, or carry on without an account
Section titled “Welcome: sign in, or carry on without an account”If you have never signed in on this device, ZestSSH opens at Welcome to ZestSSH before anything else. It says what ZestSSH is and that it is free to use with no account needed. From ZestSSH 4.0:
- Start using ZestSSH, the main button: everything stays on this device. You can sign in any time: on a computer, and on a large tablet, from the bottom left of the window; on a phone or a smaller tablet, from the More tab.
- Sign in. On a computer your browser opens zestssh.com to sign in, then brings you back. On an iPhone, iPad or Android device you choose Apple (on Apple’s devices), Google or email right there. New here? You create your account there.
At the foot, a line says that ZestSSH Cloud, hosted storage for your sync, is part of Juiced, with What is Juiced?. Sync itself is free through your own storage, with or without an account.
An account is free. It is what lets you join a team, and use ZestSSH Cloud with Juiced. Once you have signed in or chosen to carry on without an account, the welcome does not come back. An install that already has hosts never shows it.
First-run onboarding
Section titled “First-run onboarding”The first time you open ZestSSH with no saved hosts, after the welcome, it shows Let’s get you connected with four ways to add servers:
- Import from SSH config: bring in servers from your
~/.ssh/configfile. - Scan the local network: find SSH servers on the network you’re on.
- Restore from sync: if you already use ZestSSH, bring your servers over.
- Add one manually: enter a server’s details yourself.
You can take one, or choose Skip for now. Either way the screen does not come back. An empty Hosts page offers the same four ways.
While the screen loads, ZestSSH looks for the config file in your home folder ($HOME, or %USERPROFILE% on Windows):
- If it finds hosts, the Import from SSH config tile is highlighted and says how many, for example “3 servers found in your SSH config”.
- If there is no file, the tile says “No ~/.ssh/config file found on this device” and cannot be chosen. On a phone this is the usual case.
Scanning the local network
Section titled “Scanning the local network”Scan the local network looks for SSH servers on the network you are on now.
- Range. ZestSSH takes one
/24(254 addresses) from your device’s private IPv4 address, for example192.168.10.0/24. It scans only private ranges (10.x,172.16.xto172.31.x,192.168.x). Without a Wi-Fi or Ethernet network it says “No local Wi-Fi or Ethernet network detected. Connect to one and try again.” - You start it. The range is shown first, and nothing is probed until you choose Start scan. Each address gets one TCP connection attempt to port 22, at most 32 at a time, with a short timeout. Stop ends it.
- Results. Each server that answers is listed with its response time, already selected. Choose Add to save them; each becomes a host named by its address, on port 22.
On a phone, from 4.3, the results say more. Each host that answers is named by the network itself: its multicast DNS name, else its reverse DNS name. Each says what answered on port 22, read from the first line an SSH server sends, for example “OpenSSH 9.6, Ubuntu” or “dropbear 2022.83, a router?”. To read that line ZestSSH connects, reads it and closes: it never writes anything to the server and never signs in. A host you have saved already is marked already saved, with no box, and chips show New and Saved. A host that looks like a router is not ticked by itself. Add 3 hosts saves the ticked ones, each with the network’s name for it as its label where there is one, and the icon of the system its line names; Scan again is at the top, and the line above the results says the range and how long the scan took.
A scan finds open SSH ports only. It does not find user names, keys or passwords: set up sign-in on each host afterwards.
SSH config file
Section titled “SSH config file”On a computer
Section titled “On a computer”- Choose SSH config file in Import hosts (or Import SSH config in the palette).
- ZestSSH reads
~/.ssh/configby itself and shows its hosts, with “Found in” and the file’s path. If there is no file there, you get a field to fill instead. - To use another file, choose Choose a different file, then Choose file, or Paste from clipboard and Parse config. What you paste is looked at first: a key, or anything else that is not for this import, never shows in the field.
- Every host is selected. Clear the ones you do not want, or use Select all and Deselect all.
- Choose Import (the button shows how many).
When the hosts name private keys with IdentityFile, and ZestSSH can read those files on this computer, the list offers Import the key these hosts use (or “Import the N keys these hosts use”). The box starts unticked. Tick it to save a copy of each private key in your encrypted vault with these hosts (synced end-to-end encrypted if sync is on). The files themselves are not changed. To make the offer ZestSSH only counts the keys it can read, and keeps none of them; it reads them again when you choose Import with the box ticked. ZestSSH reads a key only when:
- the path is absolute, starts with
~, or is relative to the config file you chose; - it is a regular file of at most 64 KB that holds a private key;
- it is not a network path (
\\server\shareor//server/share).
A key is saved with a host only when that host also has a User line, because the private key is saved in the key made for that user on the Keys page.
Entries that cannot be imported are listed under “N entries couldn’t be imported”, each with its reason:
- Wildcard pattern, describes many hosts: a
Hostline with only patterns, such asHost *orHost prod-*. - Invalid host: an address with characters an address cannot have (spaces, control characters, shell characters), or longer than 253 characters.
- Invalid port: a
Portthat is not a number from 1 to 65535.
On a phone
Section titled “On a phone”Open More, Settings, Data, Import data, SSH config file. Choose Choose file, or paste the text and choose Parse config. Every host is ticked: clear the ones you do not want and choose Import. A phone makes the same hosts a computer makes, but it does not offer to copy keys, and it does not list skipped entries. If nothing can be imported it says “No Host blocks found”.
What each directive becomes
Section titled “What each directive becomes”| Directive | Becomes |
|---|---|
Host |
One host per name on the line (Host web-01 web-02 makes two), named after it |
HostName |
The host’s address; the Host name when there is none |
Port |
The port; 22 when there is none |
User |
A key on the Keys page named “{alias} (imported)”, with that user, linked to the host. It is set to key sign-in when the block has an IdentityFile, otherwise to password |
IdentityFile |
The key itself, when you ticked the offer and the host has a User; otherwise the path is kept in the host’s note as IdentityFile: <path> |
ProxyJump |
The host’s jump host, when its first hop names another host of this import or a host you already have (the user and port of the hop are left out when matching) |
Directive names are read in any case (hostname or HostName). Free text (names, users, paths) has control and text-direction characters taken out and is shortened before it is saved, since a config file may come from anyone. An IdentityFile path with .. in it is left out; the host is still imported.
What does not import
Section titled “What does not import”ProxyCommand,LocalForward,RemoteForward,DynamicForward,ServerAliveInterval,ServerAliveCountMax,Compression,ForwardAgentandAddKeysToAgentare read but not used. Set up forwards in Port forwarding.Matchblocks are not imported.Includelines are not followed: only the file you import is read.
Example
Section titled “Example”Given this config file:
Host web-01 HostName 192.168.10.5 Port 2222 User deploy IdentityFile ~/.ssh/deploy_ed25519
Host staging HostName staging.example.com User adminZestSSH makes two hosts: “web-01” (192.168.10.5, port 2222) and “staging” (staging.example.com, port 22). On the Keys page it makes “web-01 (imported)” for deploy, set to key sign-in, and “staging (imported)” for admin, set to password. If you ticked the key offer and ~/.ssh/deploy_ed25519 is a private key on this computer, the key is in “web-01 (imported)”. If not, open that entry on the Keys page and add the key there.
MobaXterm, SecureCRT, FileZilla and WinSCP
Section titled “MobaXterm, SecureCRT, FileZilla and WinSCP”- MobaXterm: in MobaXterm, right-click User sessions and export them to a file, then choose that
.mxtsessionsfile (itsMobaXterm.iniworks too). SSH and Telnet sessions come in, with their folders as groups, SFTP sessions as hosts that are SFTP only, and FTP sessions as FTPS hosts. Other kinds (RDP, VNC) are left out. - SecureCRT: in SecureCRT, choose Tools > Export Settings and save them as an
.xmlfile, then choose that file (a session’s own.inifile works too). SSH and Telnet sessions come in, with their folders as groups, SFTP sessions (SecureFX’s) as hosts that are SFTP only, and SecureFX’s FTP and FTP over TLS sessions as FTPS hosts. Serial and other kinds are left out. - FileZilla: in FileZilla, choose File > Export, tick the Site Manager entries and save the
.xmlfile, then choose that file (itssitemanager.xmlworks too). FTP and FTPS sites come in as FTPS hosts, SFTP sites as hosts that are SFTP only, with their folders as groups. Other kinds (S3, WebDAV and other cloud storage) are left out. - WinSCP: in WinSCP, choose Tools > Export/Backup Configuration and save the
.inifile, then choose that file (WinSCP.iniworks too, as does its registry exported to a.regfile). FTP and FTPS sites come in as FTPS hosts, SFTP and SCP sites as hosts that are SFTP only, with their folders as groups. WebDAV and S3 sites are left out.
Each host comes with its name, address, port and user. Passwords stay in the other app: ZestSSH never reads them. If the file has no sessions of that app, ZestSSH says “No MobaXterm sessions were found in this file.” (or SecureCRT, FileZilla, WinSCP).
FTP comes in as FTPS
Section titled “FTP comes in as FTPS”No import brings in plain FTP. An FTP or FTPS session or site comes in as an FTPS host:
- Explicit TLS for plain FTP and for FTP with explicit TLS, on port 21 when the file names no port.
- Implicit TLS where the other app says implicit (FileZilla’s and WinSCP’s implicit TLS, for example), on port 990 when the file names no port.
- A session on port 990 is always implicit TLS.
Before you import, the list says how many there are: “FTP or FTPS hosts in the file: 2. They come in as FTPS hosts: ZestSSH never uses plain FTP, and a server without TLS is refused before the user name is sent.” Each one reads FTPS or FTPS (implicit TLS), and a host the file had as plain FTP reads FTP, imported as FTPS. A server that offers no TLS is never signed in to. See FTPS.
Termius
Section titled “Termius”Termius has no export of its own. Choosing Termius opens Moving from Termius, which points to termius-export, a free, open-source tool that reads your Termius data on your computer and writes an SSH config file. Open termius-export opens its page; Choose SSH config file goes on to the SSH config import with that file. Delete the exported files when you are done: the tool saves keys unencrypted. See Migrating from Termius.
CSV file
Section titled “CSV file”A CSV file’s first line names its columns. A host column (host, address or ip) is needed; name, port, user, group, tags, key, protocol and note are read where they are there. A protocol of ftp, ftpes or ftps makes an FTPS host. ZestSSH shows every line with what it will do before anything is saved. See Import hosts from a CSV file.
Paste a list
Section titled “Paste a list”For an app that has no export, type or paste one host on each line:
web-01.example.comdeploy@203.0.113.10:2222[2001:db8::1]:22A line can be host, user@host, host:port or user@host:port, and an IPv6 address in brackets, with or without a port. Blank lines and lines starting with # are left out. A line with a space, a user that starts with a dash or holds a colon, or a host that is no address, is shown as a problem and not imported. Choose Read the list to see the hosts, and Edit the list to go back. What is pasted is looked at first, as a file is: a private key is refused and nothing of it is kept, and an SSH config or a share link is offered to its own import.
Where imported hosts go
Section titled “Where imported hosts go”The CSV, MobaXterm, SecureCRT, FileZilla, WinSCP, Paste a list and cloud imports ask Where they go: Personal (private to you), or a team vault you are allowed to add to (“Everyone with access to” that vault sees these). In the file imports (CSV, MobaXterm, SecureCRT, FileZilla, WinSCP, Paste a list), only new hosts can be ticked: a host whose address and port you already have shows Already here, and a second line with the same address and port shows Twice in the file.
Old servers
Section titled “Old servers”For old servers that refuse modern SSH, such as end-of-life Linux or old network devices, tick Turn on Compatibility mode for these hosts before you import. Every way of importing hosts has it, under the list: an SSH config file, PuTTY sessions from a .reg file, MobaXterm, SecureCRT, FileZilla, WinSCP, a CSV file, a pasted list and a cloud account. Every host imported then has Compatibility mode on, so you need not turn it on one by one. On a cloud account you keep in sync, hosts it adds later come in without it. The box starts unticked and says it is not recommended: the mode adds algorithms that are less secure. Turn it off for any host later in its settings. PuTTY sessions read on Windows have it per host instead, from 4.3: see Importing PuTTY saved sessions.
ZestSSH host file
Section titled “ZestSSH host file”A host shared from ZestSSH comes as a .zest file. Choose ZestSSH host file and pick it. If it is sealed, ZestSSH asks for its password (“This host is sealed with a password”) until it opens. You see what it holds before you add it. A full backup is not a host file: ZestSSH says “This file is not for: ZestSSH host file” and “Looks like a ZestSSH backup. Import it?”, and Import it restores it as a backup (see Encrypted backups).
Share links
Section titled “Share links”A host shared from ZestSSH can also come as a link that starts with zestssh://share (the form its QR code uses) or zestssh://add-host. The person who shares it opens the host’s editor and chooses Share: the sheet shows a QR code, Copy link and Share…. A share link carries the host, port, name, user name, tags and port forwards, never a password, a private key or a token.
To add a host from a link:
- Open it on a device with ZestSSH, or scan its QR code.
- Paste it: choose Paste a share link in Import hosts (on a computer, also in the menu beside New host), paste the link and choose Show host. On a computer, a link pasted into the empty filter field of the Hosts toolbar goes to the same place. When the clipboard holds a share link, Import hosts offers it under On the clipboard.
Either way you see the host and what comes with it in Add this host? (“This came from a URL or QR code. Add it only if you trust the source.”), and nothing is added until you choose Add host. It goes into your personal space. Its port forwards are saved but not started. A text that is not a share link, is longer than any share link can be, or carries what a share link never may (a password or a key) is refused, and nothing is added.
Importing PuTTY .ppk keys
Section titled “Importing PuTTY .ppk keys”ZestSSH reads PuTTY .ppk key files, versions 2 and 3, with or without a passphrase, and converts them to OpenSSH format.
On a computer: on the Keys page, choose New key, then Import or paste key. Choose Set up SSH key, open the Import tab and choose Choose key file.
On a phone: open More, then Keys, and tap +. Choose SSH key, then Import from file. Or use More > Settings > Backups and data > Import data > PuTTY private key (.ppk) for a key without a passphrase; for a key with one it says to add it from the Keys page.
When a key has a passphrase, ZestSSH asks for it. A wrong one gets “Incorrect passphrase. Please try again.”, up to three tries. The passphrase is checked against the file’s own integrity check, so a wrong passphrase is never taken for a damaged key.
Key type in a .ppk |
Imported |
|---|---|
ssh-rsa |
Yes |
ssh-ed25519 |
Yes |
| ECDSA | No |
| DSA | No |
For an ECDSA key, use Conversions > Export OpenSSH key in PuTTYgen and import the exported file: ZestSSH reads ECDSA keys in OpenSSH and PEM format. DSA keys are not supported in any format.
The converted key is kept in ZestSSH’s encrypted storage, not as a file on disk.
Importing PuTTY saved sessions
Section titled “Importing PuTTY saved sessions”On Windows, choose PuTTY sessions in Import hosts (“Saved sessions from this PC’s registry”), or Import PuTTY sessions in the palette. ZestSSH reads:
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SessionsFrom 4.3, Import from PuTTY is a dialog that lists every session that has a host name (“12 sessions found in this PC’s PuTTY settings”), with a box at each row, a box above them to tick all, and chips for New and Already here.
- Already here. A session whose host you already have (the same address, port and user; where one side has no user, any user matches) says “already in ZestSSH as” and the host’s name, and is left unticked, so importing twice makes no copies.
- How it signs in. Each row says so: password, or its key file, found (“key: work.ppk, found”), found with a passphrase, not found (with its path), or on another computer (a network path, which is never opened, since opening it would sign this PC in to that computer).
- Old server? A session whose PuTTY settings allow older algorithms (DES, Blowfish, Arcfour or Diffie-Hellman group 1 above the line PuTTY warns below, or a workaround for an old server’s bug turned on) is marked Old server? and is imported with Compatibility mode on. Untick it at that row to import it without.
- Into picks the group the hosts go into: a new group Imported from PuTTY at first, the same group on the next import, another group, or No group.
Choose Import 5 hosts. Each becomes a host with the session’s name, its HostName and its PortNumber (22 when there is none), Where the session names a user, the user is kept in a key named after the session (“web-01 (imported)”), and a key file that was found and has no passphrase is converted from .ppk and kept in it, encrypted as every key is. A key file that could not be read (a passphrase, not found, on another computer), or one named by a session with no user, leaves its path in the host’s note: add the key under Keys. SSH sessions come in as SSH hosts and Telnet sessions as Telnet hosts; serial, raw and rlogin sessions are left out. A host that could not be imported is listed with what went wrong and Copy details.
What does not come over:
- Passwords. PuTTY does not keep them.
- Proxy, tunnel and terminal settings.
From a .reg file
Section titled “From a .reg file”On a Mac or Linux computer, and on a phone, PuTTY’s sessions come from a file. On Windows, open the Registry Editor, right-click HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions, and export it to a .reg file. Then choose that file under PuTTY sessions (“Saved sessions from a .reg file exported on Windows”) or Import a file. SSH and Telnet sessions come in, with their users, and you see them before anything is saved. Passwords are not in the file.
Or import them on the Windows PC and turn on sync, or make an encrypted backup.
After importing
Section titled “After importing”Check the new hosts on the Hosts page: their addresses, ports and users. Where an import made a key on the Keys page with no SSH key in it, open it there and add the SSH key. If something did not come in, see Import failures.