Open SSH (or Ctrl+Shift+S) and enter a host; the field also accepts user@host:port.
Authentication: password, private key file (~/ is expanded, optional passphrase) or the running SSH agent (SSH_AUTH_SOCK).
Two options, in Quick connect and in a saved SSH session (both off by default):
- Forward SSH agent (like
ssh -A): on the server,git pullorsshto another machine use the keys of your local SSH agent (SSH_AUTH_SOCK; on Windows the OpenSSH agent) without copying them there. Only the server of the session gets it, never its jump hosts. Turn it on only for servers you trust: while you are connected, their administrators can use your keys too. When no agent is running, the tab still opens and says in one yellow line that forwarding is off for that session. Sessions imported from an exported file come in with it off, whoever made the file; sessions synced between your own computers keep it. - Keep the shell in tmux, with a tmux session name (
plexuswhen left blank; letters, digits,.,_and-, 64 at most): the tab runstmux new -A -s <name>instead of the plain shell, so it creates the session the first time and attaches to it afterwards. It works with sh, bash, zsh and fish as the login shell. When the server has no tmux, the tab opens the login shell and printsPlexusTerm: tmux is not installed on this server, so this is the login shell.tmux is found on the PATH the server gives to commands (not the one your login profile builds), so a tmux installed only through.profileor.zprofileis not found.
While a host takes time to answer (switched off, unreachable, behind a VPN that is down), the tab says Waiting for the host… N s (Ctrl+C cancels) after 3 seconds, counting up; Ctrl+C cancels the connection there and then, and the tab stays open with [Connection cancelled]. Telnet and Mosh tabs do the same. A connection that would open after it was cancelled is closed at once.
Reconnecting by itself: when the network drops or the computer wakes from sleep, an SSH tab is not closed. It says [Connection lost] and reconnects with the same login (the saved password in the keyring, a password typed in the tab, the jump hosts' logins), showing Reconnecting… attempt N of 10 in S s (Ctrl+C cancels) while it waits. It waits 1, 2, 5, 10 and 30 seconds, then 30 seconds between attempts, 10 attempts at most (about three minutes); the network coming back or the window regaining focus tries at once. A connection that drops again less than 30 seconds after coming back keeps counting (a host that accepts the login and drops it at once runs out of attempts too); one that stayed up longer starts again from the first attempt. Ctrl+C, while waiting or during an attempt, stops it with [Reconnection cancelled. Press Enter to reconnect.], and Enter then starts the attempts again; after the 10th failed attempt Enter tries again too. A rejected login, a missing password or a host key to trust stops the attempts and shows the usual password or host key prompt; the attempts never prompt by themselves. A clean end of the shell (exit, the server ending the session) still closes the tab. The reconnected tab runs a new shell: what was running in the old one is gone, unless it ran in tmux or screen. With Keep the shell in tmux, every reconnection attaches to the same tmux session, so the tab resumes where you were, with your programs still running. A shared tab stops being shared when its connection drops; share it again once it is back. Turn this off with Reconnect SSH sessions automatically (Settings → Connections; on by default), and a dropped tab closes as before; turning it off while a tab waits stops its attempts there (Enter still reconnects it). Telnet, serial and Mosh tabs are not affected (Mosh roams by itself). A dead link is noticed within about a minute: terminal tabs send a keepalive every 15 seconds and give up after 3 unanswered. When the network comes back (and when the window regains the focus, at most every 10 seconds), each open SSH tab checks its connection at once: a server that does not answer within 3 seconds is reconnected right away, without waiting for the keepalives. SFTP, tunnels, key installs and the start of Mosh, which do not reconnect, keep a keepalive every 30 seconds.
Password logins (terminal tabs, SFTP, tunnels, jump hosts and the Mosh login) first try your keys, like OpenSSH: the keys of the SSH agent, then the default files ~/.ssh/id_ed25519, ~/.ssh/id_ecdsa and ~/.ssh/id_rsa, at most 5 keys in all. Only unencrypted files are tried; a passphrase-protected one is skipped without asking unless the agent holds it. The password is sent only when the server rejects every key. If the server closes the connection after too many rejected keys, PlexusTerm reconnects once and tries only the password. When a key logs in, a typed password is never checked, so it is not saved in the keyring.
Host keys are verified against ~/.ssh/known_hosts, like OpenSSH:
- a known, matching key connects directly;
- an unknown host shows its SHA256 fingerprint and is only recorded after you choose Trust and connect; if keys of another type are already recorded for that host, the dialog warns about it (the server may have changed its key type);
- a key that differs from the recorded one is always refused. Remove the old entry with
ssh-keygen -R <host>if the change is expected.
Known limitations of the known_hosts parser (russh): @revoked / @cert-authority markers and wildcard patterns are not supported, and hostnames are matched case-sensitively; in those cases you get the unknown-host prompt instead of a silent connection.