Confirmations and questions (deleting sessions, folders, tunnels and macros, naming a new folder, the SFTP actions) open in PlexusTerm's own dialogs: Enter submits a typed name and presses the focused button of a confirmation, Escape cancels, and Cancel has the focus when the action deletes something. Cancelling never performs the action.
The Sessions panel on the left keeps SSH, serial, Telnet, Mosh and local terminal sessions in folders (Prod/DB style paths).
The icons at the top of the Sessions panel are, in order, New session (+), New folder, Import sessions and Export sessions; hover one for its name. Use them or the hover actions on a folder; double-click a session (or press Enter) to connect, and the search box filters by name, host, serial device or shell. Drag a session onto a folder (its row, or any session in it) to move it there, or below the list to move it out of every folder; Escape cancels the drag. When a session of the same name (ignoring case) is already there, PlexusTerm asks before moving it.
Right-click a session for Connect, Copy SSH command (SSH sessions: ssh -p <port> [-i <key>] user@host, quoted for a shell, without jump hosts), Edit…, Duplicate (a copy named "~ is your home directory; empty starts there too), so a PowerShell, a WSL distribution or a project folder is one double-click away; their tabs are titled with the shell's name.
Sessions are stored in ~/.config/dev.plexusterm.app/sessions.json (written atomically, mode 0600); each entry has a kind (ssh, serial, telnet, mosh or local), and entries written by earlier versions without it load as SSH sessions.
The file never contains passwords or key passphrases (see Saved passwords).
Versions before local terminal sessions cannot read a file that holds one, so they show the error below instead of the sessions.
If the file cannot be read, the panel shows the error and disables editing so the file is never overwritten.
Saved passwords
Saved password sessions (terminal tabs, Mosh and tunnels) connect first: PlexusTerm tries your keys (see SSH sessions), then the password saved in the keyring, and asks for the password only when the server still needs it. That prompt has a Save password in the system keyring checkbox, unchecked by default. Quick-connect sessions take the password in the connect dialog and never save it. Install in the SSH key generator still asks before connecting.
- Passwords are kept only in the system keyring through the Secret Service API (GNOME Keyring, KWallet), under the service
dev.plexusterm.appwith the session id as the account and the labelPlexusTerm: user@host:port. They are never written tosessions.jsonortunnels.json. - A password is saved only after a successful login. Later connections read it in the backend; it is never sent back to the user interface.
- A saved password is bound to the
user@host:portit was typed for and is only ever sent there. Changing the host, port or username of a session (or switching it away from password authentication) forgets the saved password; passwords saved by earlier versions, which carry no such binding, are asked again once. - If the keyring cannot save or delete the password (for example because it is locked and does not answer within 10 seconds), the connection still opens and a warning is shown: a yellow line in the terminal tab, or a note under the tunnel.
- If the saved password is rejected, the prompt appears with the checkbox ticked: a successful login replaces it, and unticking the checkbox deletes it. If no usable password is saved, the prompt appears unticked, like a first login.
- Forget saved password in the session's edit dialog deletes it; deleting a session, or a folder containing it, deletes it too.
- Without a Secret Service the checkbox is disabled and passwords are asked on every connection.
- Key passphrases are never saved.
Passwords from a password manager
Instead of typing or saving a password, a session can take it from a password manager's command-line tool: in the session dialog (or Quick connect), choose Authentication → Password from a command and enter the command that prints the password. Key sessions have the same for their passphrase, Passphrase from a command (optional), used when no passphrase is typed. The Presets menu next to the field fills it with a template; replace the words in capitals with your own:
| Password manager | Template |
|---|---|
| 1Password | op read "op://VAULT/ITEM/password" |
| Bitwarden | bw get password ITEM |
| pass | pass show PATH |
| GNOME Keyring / libsecret | secret-tool lookup service NAME |
| KeePassXC | keepassxc-cli show -s -a Password --no-password --key-file KEYFILE DATABASE ENTRY |
- The session keeps only the command. At every connection, reconnections included, PlexusTerm runs it on this computer through the system shell (
sh -c, on Windowscmd /C) and uses what it prints, without its last line break, as the password (or passphrase). The password itself is never saved, logged nor shown, and it is not kept after the login. - Like other password logins, your keys are tried first (see SSH sessions); the command only runs when the server still asks for a password.
- The password manager must already be unlocked, because the command cannot ask for anything (nothing can be typed into it): sign in to the 1Password desktop app with its CLI integration turned on, export
BW_SESSIONafterbw unlockbefore starting PlexusTerm, keepgpg-agentunlocked forpass, and unlock the keyring forsecret-tool.keepassxc-cliwould ask for the database password on its standard input, which is closed, so the KeePassXC template opens the database with a key file and no password (--no-password --key-file KEYFILE). A database protected only by a password cannot be read that way: on Linux, turn on KeePassXC's Secret Service integration instead (Tools → Settings → Secret Service Integration, then expose a group in Database → Database Settings → Secret Service Integration), keep KeePassXC open and unlocked, and use the GNOME Keyring / libsecret template with the entry's title, for examplesecret-tool lookup Title prod-db. - If the command fails (it exits with an error, prints nothing, or does not finish within 30 seconds and is stopped, with everything it started), the tab shows why in red, with the first lines of what the command wrote as its error. The login is not retried and no password prompt opens: fix the command or unlock the manager, then open the session again.
- The command is not a secret: it is kept in
sessions.json, in exports, in synced sessions and in restored tabs. Importing a file lists every command its sessions would run, so a file from someone else cannot hide one; check them before importing.
Proxy command
Proxy command (advanced), in Quick connect and in a saved SSH session, reaches the server through a command on your computer instead of connecting to it directly, like OpenSSH's ProxyCommand: SSH runs over the command's input and output. It is how you go through access gateways such as Cloudflare Access or AWS Systems Manager, for example:
cloudflared access ssh --hostname %haws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters portNumber=%pssh -W %h:%p bastion(through a bastion of your own OpenSSH config)
Leave it empty to connect directly (the default).
- In the command,
%hbecomes the session's host,%pits port,%rits username and%%a single%; any other%sequence stays as typed. A host or username with characters the shell would interpret (spaces,;,$, quotes...) is refused with an error instead of being put in the command. - The command runs with
sh -c(cmd /Con Windows), as typed, every time the session connects or reconnects. It must be one line of at most 2000 characters. - What the command writes to its error output appears in the terminal in yellow; when the connection fails, its last lines are in the error too (
... (the proxy command said: ...)). - The command is stopped when the tab closes or the connection ends or fails to start, together with everything it started.
- The server's host key is still checked against
~/.ssh/known_hostswith the session's host and port, and the login works as for any SSH session. - A session uses either jump hosts or a proxy command, not both: the session dialog refuses to save both.
- The tab's SFTP browser uses the same connection, and SSH tunnels of the session and the SSH key generator's Install go through the command too. Mosh sessions connect directly, without it: Mosh's own traffic is UDP, which a proxy command cannot carry.
- Copy SSH command includes it as
-o ProxyCommand=....
Jump hosts
A saved SSH session can reach its server through up to 3 jump hosts (bastions), like ssh -J. In the session's edit dialog, Jump hosts lists other saved SSH sessions in the order they are crossed: add them from the list, move them up or down, or remove them. Quick-connect sessions have no jump hosts.
- PlexusTerm logs into the first jump host, opens a forwarded connection from it to the next host's address and port, logs into that one, and so on until the session's own server. Each host is reached from the previous one, so its address must make sense there (e.g. a private IP behind the bastion).
- Every host is checked against
~/.ssh/known_hostswith its own address and port; an unknown jump host shows the trust prompt naming it ("bastion — jump host 1 of 2"). - Every host logs in with its own saved session's method (key, agent or password). Password hosts try your keys first, then the password saved in the keyring; a host that still needs a password is asked while connecting, one at a time ("Password for bastion — jump host 1 of 2"), each prompt with its own Save password in the system keyring checkbox.
- If a jump host has its own jump hosts, they are crossed first. A session cannot be its own jump host, and chains with cycles, repeated sessions, more than 3 hosts in total, or deleted or non-SSH jump sessions are refused with an error.
- Errors name the host that failed, e.g.
via bastion (jump host 1): authentication failed. - The SFTP browser of the tab uses the same connection, and SSH tunnels whose session has jump hosts go through them too. Closing the tab (or stopping the tunnel) closes every connection of the chain.
- Deleting a session that other sessions use as a jump host asks for confirmation and removes it from their jump hosts.
Import sessions from an .ini file
Import sessions → From an .ini file… in the Sessions panel reads a sessions .ini file with [Bookmarks] sections (UTF-8, or the Windows-1252 code page these files are often written in) and shows a preview before anything is saved:
- SSH sessions from the
[Bookmarks]/[Bookmarks_N]sections are imported with their host, port (22 when missing or invalid) and username, and Telnet sessions with their host and port (23 when missing or invalid), under an Imported folder that keeps the folder path saved in the file. - Imported SSH sessions use password authentication; change it later with Edit. Private key paths are not imported.
- Other session types (RDP, VNC, Serial, WSL, FTP, ...), entries without a host and unrecognized lines are skipped and counted per type in the preview.
- Sessions already saved with the same type, folder, name, host, port and username are skipped as duplicates.
- Passwords are never imported: the
[Passwords]section and any other section are not read.
Import hosts from ~/.ssh/config
Import sessions → From ~/.ssh/config reads the OpenSSH client config of your home folder (~/.ssh/config, also on Windows) and shows the same preview:
- Each concrete
Hostalias becomes an SSH session named after it, under Imported/SSH config. Wildcard (*,?) and negated (!) patterns are not imported as sessions, but their options apply to the hosts they match, as do options before the firstHost; like ssh, the first value of each option wins. HostName(the alias when missing;%his replaced by the alias),User(empty when missing),Port(22 when missing or invalid) and the firstIdentityFileare read. A host with anIdentityFileuses that private key (%dbecomes~); one without uses password authentication.ProxyJumphops become the session's jump hosts (at most 3). A hop that is a host of the same file is that host's session. Any other hop, such asuser@gateway:2222,gateway:2222,[fd00::1]:2022orssh://user@gateway, gets a session of its own named like the hop, with that user (or the file'sUser) and port (or 22); when it names a host of the file, it takes that host'sHostNameandIdentityFile. Several hosts going through the same hop share its session. AProxyJumpwith more than 3 hops, one that names the host itself or a hop that cannot be read is counted in the preview and the host is imported without it.ProxyCommandbecomes the session's proxy command, as written (ProxyCommand nonemeans none). Like ssh, whichever ofProxyJumpandProxyCommandcomes first is used, never both. A command longer than 2000 characters is counted in the preview and the host is imported without it.- The preview lists every proxy command the import would add, with its session name, because it runs on this computer each time the session is opened: check them before importing a file someone else wrote. Importing an exported sessions file (Import sessions → From a PlexusTerm export (.json)…) keeps its proxy commands and lists them the same way.
Includelines andMatchblocks are not followed and are counted in the preview. Every other option is ignored.- Hosts already imported the same way are skipped as duplicates, so importing again only adds new hosts.
Export sessions
Export sessions, the icon after Import sessions, saves every saved session and folder to one file (plexusterm-sessions.json by default), to back them up or to take them to another computer. It is the format of PlexusTerm's own sessions file: SSH, Telnet, Mosh, serial and local sessions with their folders, jump hosts and key paths. Passwords are not in it (saved ones stay in the system keyring), nor are the private keys themselves, only their paths.
Sync sessions between computers
Settings → Connections → Synced folder keeps the saved sessions in step between your computers through a folder you already sync (Syncthing, Google Drive, Dropbox, Nextcloud…): choose the same folder on each computer. PlexusTerm writes its sessions and folders there in plexusterm-sessions-sync.json and reads the changes of the other computers when it opens, when its window gets the focus, every minute and two seconds after you change a session.
- When the same session changed on two computers, the change made last wins (by each computer's clock).
- A session or folder deleted on one computer is deleted on the others too, unless it was changed on another one after the deletion. Deletions are remembered for a year.
- The first time a computer syncs, a session it has that the folder also has takes the folder's version; sessions only on that computer are added for the others. Sessions both computers imported from the same export (each import gives them new ids) are recognised as the same and are not duplicated.
- A change goes to the folder about two seconds after you make it. If PlexusTerm's own sync record (
sessions-sync.jsonin the app config folder) is deleted, a deletion made in those last seconds can come back from the folder; delete the session again. - Passwords never go to the folder (saved ones stay in each computer's keyring), nor do private keys, only their paths: the file is exactly as private as the folder it is in.
- A file in that folder that is not a PlexusTerm sync file is never changed; Settings says so under the folder. The last sync time, or why it failed, shows there too.
- Leave the field empty to stop syncing; the sessions stay as they are.
Import sessions → From a PlexusTerm export (.json) reads such a file and shows the same preview. Its sessions go under Imported, keeping their own folders below it, and their jump hosts and Mosh logins point to the imported sessions; sessions already imported the same way are skipped, so importing the file again adds nothing.
Sync settings between computers
Settings → Connections → Settings synced folder does the same for the settings, through a folder of its own: the same as the sessions' one or another, and empty (the default) when the settings are not synced. PlexusTerm keeps them there in plexusterm-settings-sync.json; for each setting, the change made last wins. The first time a computer syncs, it takes the settings already in the folder; if there are none yet, its own settings start the file. Settings that belong to each computer never leave it: the shell, arguments and starting folder of local terminals, the text editor, the diagnostic log folder, GPU acceleration, the drop-down window's shortcut and height, both synced folders, and the width and folding of the sidebar and of DEV mode's tab column. API keys and the relay token stay in each computer's keyring. While the Settings window is open the settings are not synced; they sync when it closes.