← Kalgoorlie Retro Gaming · Downloads
Desktop software · Windows and Linux

TermBench

A tabbed terminal with saved sessions in folders and split panes. Connect over SSH, SFTP, Telnet, RLogin, raw TCP or a serial port, browse servers' files, call BBSes with the proper DOS screen and Zmodem, and automate logins and chores with Python or Lua scripts. Formerly called Saltbush Terminal.

What it does

Connections

  • Saved sessions in folders, Quick Connect, a New Session wizard and multi-session editing
  • SSH2 with a built-in engine (libssh): host-key checks; key, certificate, agent, Kerberos and password logins; local, remote and SOCKS port forwards; X11 and agent forwarding; compression; Copy Public Key to Server (like ssh-copy-id); jump hosts, Ed25519 certificates and most OpenSSH options; an optional FIPS-approved-algorithms mode
  • RDP sessions (Windows Remote Desktop) and VNC sessions (Linux desktops, virtual machine consoles; new in 1.9.9) in a tab, with clipboard and fit-to-tab resizing
  • A two-pane SFTP browser: your files beside the server's; upload and download files and folders, resume interrupted transfers, rename, delete and change permissions. FTP sessions (new in 1.9.10) open in the same window, with a saved user name and password for each server and FTP over TLS
  • Tools → SSH Agent: see and manage the agent's keys, including smartcard and token keys
  • Telnet, RLogin, raw TCP, serial ports, SFTP and local shells
  • Automatic reconnect, keepalive, anti-idle and logon automation
  • Sync sessions between your computers through a shared folder (passwords are never synced)

BBS and tools

  • BBS sessions: CP437, a DOS-style ANSI-BBS screen with iCE colours, a built-in VGA font, 80×25 scaled to the window, and Zmodem downloads that start by themselves
  • A BBS Directory: download the Synchronet BBS List and the Telnet BBS Guide, call any BBS in a tab with one click, keep the BBSes you call at the top, and add your own
  • Import your SyncTERM BBS list; RLogin passwords kept in the system password store
  • Python and built-in Lua scripting; scripts written for Lantern Terminal and SyncTERM-Lua run unchanged
  • Split panes to watch several sessions at once, and tear-off tabs that get their own window
  • VT220/xterm emulation with DEC line drawing, double-size lines, margins, 132 columns and sixel graphics, plus Wyse 60 and SCO ANSI terminal types
  • Built-in Zmodem, Ymodem, Xmodem and Kermit on Linux and Windows
  • Function keys for Help, Session Options, Find, Reconnect, the SFTP browser, logging and scripts (or send them to the remote program)
  • Highlighting and key mappings edited in tables, button bars, logs, character sets and paste pacing
  • Update notifications: TermBench tells you when a new version is out and can install it for you

Screenshots

TermBench with saved sessions in folders, a local shell and a button bar
Sessions in folders, a local shell and a button bar.
A BBS menu in CP437 with the VGA font
A BBS screen: CP437, the VGA font and iCE colours.
The BBS Directory with the Synchronet BBS List
The BBS Directory: BBSes you have called first, then the Synchronet BBS List and the Telnet BBS Guide.
Three local shells in split panes
Split panes: three sessions at once.
The two-pane SFTP browser with the permissions editor open
The SFTP browser: this computer on the left, the server on the right.
The SSH Agent window with one key
Tools → SSH Agent: keys, smartcards and locking.
Session Options
Session Options: every setting for a session in one place.

Installing

Windows

Download and run termbench-1.11.6-windows-x64-setup.exe. It asks whether to install just for you (no administrator rights needed) or for everyone on the computer (in Program Files; Windows asks for administrator rights), and adds TermBench to the Start menu. Updates keep the same choice. For a portable copy, extract the Windows ZIP and run TermBench/termbench.exe. Python scripts need Python 3 from python.org; Lua is built in. For the SSH agent window, start the "OpenSSH Authentication Agent" Windows service.

Linux

Download the Debian package and run these commands in its download folder:

sudo apt install ./termbench_1.11.6_amd64.deb
termbench

The package needs Ubuntu 24.04, Debian 13 or newer. On other distributions use the tar archive: extract it and run ./install.sh, which installs for your user only.

Updates

From version 1.5.0, TermBench checks this site once a day and tells you when a new version is out. Update Now downloads it, checks its checksum and installs it: the Debian package asks for your password, and the Windows installer runs and TermBench closes. Portable copies open this page instead. Help → Check for Updates checks at any time, and the notices can be turned off. Version 1.4.0 and older have no update check, so install 1.5.0 by hand once.

More detail: installing, updates and troubleshooting.

Your first session

  1. Choose File → New Session…, pick a protocol and enter the connection details. For a BBS, choose Tools → New BBS Session… instead.
  2. Give the session a name and a folder. It appears in the Session Manager.
  3. Double-click the name to connect. For SSH, check a new server's fingerprint and answer the password or passphrase question in the terminal.

Right-click sessions for Properties…, Apply BBS Settings…, Duplicate and Delete…. Ctrl+click selects several sessions to change together. Application shortcuts use Ctrl+Shift, so Ctrl keys reach the terminal.

Sessions guide →

Documentation

Offline copies: README, scripting guide and limitations.

Downloads

Version 1.11.6. Free downloads for 64-bit Windows and Linux.

Windows installer

64-bit Windows 10 or later. Installs just for you (no administrator rights) or for everyone on the computer (Program Files; asks for administrator rights), with a Start menu shortcut and an uninstaller. Includes libssh and OpenSSL for the built-in SSH engine, and Lua.

termbench-1.11.6-windows-x64-setup.exe · 12.5 MB

SHA-256 c66e401c1378b48e891a7685a984de9635c6619812c5819d21597d3b34b5716d

Download

Windows portable ZIP

Extract it anywhere and run TermBench/termbench.exe.

termbench-1.11.6-windows-x64.zip · 17.5 MB

SHA-256 e20a000fc52fc5ae7467568a8e432f3efa60b8d95faadfc23b96ca0191c998da

Download

Linux Debian package

64-bit Ubuntu 24.04, Debian 13 or newer. apt installs the libraries it needs.

termbench_1.11.6_amd64.deb · 8.6 MB

SHA-256 762e734286ecdf6a84a2b0c715c9b7d7840145c5dec71f5af8fe3b177ff25e59

Download

Linux tar archive

For other distributions: extract it and run ./install.sh (installs for your user, no root). Needs glibc 2.34 or later and libssh.

termbench-1.11.6-linux-x86_64.tar.gz · 11.3 MB

SHA-256 769296fd9c88f57c8f5bfa9933e7a2547f59bbbe68666170a6769f7c16c2b7c1

Download

Source code — tar.gz

Rust source, tests and the Linux and Windows build scripts.

termbench-1.11.6-source.tar.gz · 1.4 MB

SHA-256 82847601d6f150b5b7a13023df9afaaa129779776006f2fdf3945deab2f2abcc

Download

Source code — ZIP

The same source package in ZIP format.

termbench-1.11.6-source.zip · 1.5 MB

SHA-256 98a3b1f46fd472a580538ebf386fc862af02a413bc787ceefa65f36579a08126

Download

SHA-256 checksums

Checksums for the release files, guides and bot scripts.

SHA256SUMS · 2 KB

SHA-256 c9142828e3573f46f67be6f644a324d3cb183a26a7935ede936fa9d018d27ae8

Download

To check downloaded files, put SHA256SUMS in the same folder and run sha256sum -c SHA256SUMS --ignore-missing.

Bot scripts (experimental)

Experimental. These scripts were written for Kalgoorlie Retro BBS and are still being tested. They make real moves in your game, so watch the first runs and stop them if anything looks wrong.

Two door-game bots written in Lua for the SyncTERM-Lua fork. They run unchanged in TermBench, Lantern Terminal and SyncTERM-Lua.

LORD bot (experimental)

Plays one day of Legend of the Red Dragon 4.06: forest fights, master challenges, gear, the bard and Violet, bank and an Inn room.

lordbot.lua · 54 KB

SHA-256 0e0d0a9ff70752bf4a81727fa52eb81b0515a415c4f5970d941d1da33b3f4344

Download

TradeWars bot (experimental)

Spends a day of TradeWars 2002 turns: maps the universe, trades between port pairs, haggles, and ends the day in FedSpace. Once rich it buys a warship and attacks traders and Ferrengi it clearly outmatches (set AGGRESSIVE to false to stop that).

twbot.lua · 91 KB

SHA-256 f8b1e9272b8976fe5f8572bb0acb90dc3d57df6d8d99b7feb03a4428ed637692

Download

Barren Realms Elite bot (experimental)

Plays the day's Barren Realms Elite turns: builds regions while protected, then a defensive army, offers trade agreements and raids pirates. It never attacks other realms.

brebot.lua · 26 KB

SHA-256 7ec9445428bc3f53e39291e382cc68ed77653c049e62e947788fd2d664fbead4

Download

Run a bot

  1. Make the BBS session with Tools → New BBS Session… (Telnet or RLogin) and put your BBS user name in Username.
  2. Log in and enter the game. Start the LORD bot at the "Enter the realm" menu or in the Town Square; start the TradeWars bot at the sector Command prompt.
  3. Choose Script → Run… and pick the script. Its progress appears in the Activity pane. Script → Cancel stops it at any time.

Each bot keeps its log, and the TradeWars bot its map, in the folder the script is in. Run one bot per character.

Known problems and coming next

From our project tracker, kept up to date as we work.

Known problems

None known just now.

Coming next

  • Help > About: licence (GPL v2 or later) and credits

Recently done

1.11.4

  • Text boxes: right-click menu and Insert keys

1.11.3

  • Fixed: Ctrl+Shift+C, Ctrl+Shift+V and right-click did not copy and paste

1.10.3

  • Fixed: Windows installer left an older Saltbush Terminal installed beside TermBench

1.10.2

  • Renamed from Saltbush Terminal to TermBench

Release notes and scope

Tried on real computers: tear-off tabs and RDP sessions (new in 1.8.0) have been tried on a Linux desktop and on Windows with several monitors, including two RDP sessions at once. The BBS Directory (new in 1.9.0) has been tried on a Linux desktop; downloading the lists on Windows has not been tried yet.

1.11.6: copying works from programs that use the mouse over SSH, such as Claude Code: drag, then Ctrl+Shift+C or right-click, Copy. Every copy says in a box whether it worked, and on Windows the clipboard is checked. Tried on a Windows PC, under Wine and on Linux.

1.11.4: text boxes have a right-click menu with Cut, Copy, Paste and Select All, and take the Insert keys. Tried on Linux, and the Windows version under Wine.

1.11.3: copy and paste work again. Ctrl+Shift+C and Ctrl+Shift+V had sent Ctrl+C (interrupt) and Ctrl+V to the program since 1.10.0. Right-click now always opens TermBench’s menu, also in programs that use the mouse (Ctrl+right-click goes to the program). Ctrl+Insert copies; Shift+Insert and Ctrl+Shift+Insert paste. Tried on Linux, and the Windows version under Wine. Close and reopen TermBench after updating.

1.11.1: new full-colour toolbar icons (Fugue, by Yusuke Kamiyamane, CC BY 3.0), the same as EditBench’s.

1.11.0: themes, the same as EditBench’s. View → Theme offers Modern Light, Charcoal, Midnight (high contrast), Espresso, Glitch, Ore, Slate, Sterling, Titanium and Twilight, each with its own window colours; it replaces View → Dark Theme (a dark choice opens as Charcoal). Session Options → Appearance has a button that gives a session’s terminal the theme’s text and background colours.

1.10.3: the Windows installer now removes Saltbush Terminal however it was installed (1.10.2 missed copies first installed by Saltbush 1.9.2 or earlier, which then stayed beside TermBench). Linux is unchanged.

1.10.2: Saltbush Terminal is now called TermBench. Installing 1.10.2 replaces Saltbush (the Windows installer removes it first; the Debian package takes its place and keeps a saltbush command). The first start takes over your Saltbush settings: sessions, credentials, button bars, known hosts and the BBS directory. Passwords saved by Saltbush, the sync folder (computers on either name share it) and scripts written for Saltbush (require("saltbush"), from saltbush import app) keep working. After Update Now from Saltbush, Restart Now starts TermBench.

1.10.1 fixes TermBench not starting on Windows virtual machines without a graphics card (Proxmox, Hyper-V), where Windows offers only OpenGL 1.1. TermBench now starts again by itself with DirectX 12, which uses Windows' own software renderer, and keeps using it on that computer; computers with working OpenGL are unchanged. It also fixes RDP sessions on Windows dropping with “Overlapped I/O operation is in progress”, and on Windows a failed start now shows a message saying why. Tried on a Windows 11 virtual machine on Proxmox and on a Windows 11 PC.

1.10.0 gives TermBench a new look: the light and dark “Studio” colours of the Craft apps, the Inter typeface for menus and dialogs, and new toolbar icons. It starts in the light look; View → Theme (from 1.11.0) chooses one of ten themes. Toolbar buttons that switch something on, such as the Session Manager and logging, stay lit while it is on. The terminal itself, its fonts and its colour schemes are as before. Underneath is a newer version of the drawing toolkit (egui 0.37). It also fixes RDP and VNC sessions that did nothing when their stored password was missing on this computer. Passwords are kept in each computer's own password store and are not synced, so a session synced from another computer could not start and gave no sign why. Its tab now opens and asks for the password, with Remember password ticked so it is stored again. Tried as a test build on Linux (KDE Plasma) and on Windows.

1.9.12 fixes sync leaving two Local Shell sessions after a new computer joined. A new install has its own sample Local Shell; when the Local Shell on another computer had been moved into a folder or changed, both were kept everywhere. Local shell sessions with the same name from different computers are now one session, and each computer keeps its own shell program and starting folder. Doubles made by an earlier version stay until you delete one; the deletion then reaches the other computers. Update every computer that syncs. Checked with automatic tests of two and three computers sharing a folder, not yet on a real pair of computers.

1.9.11 lets you drag files onto a terminal: drop files from Dolphin, Files, Explorer or a screenshot tool and their paths are typed in, quoted for the shell, as Konsole does, so Claude Code running in TermBench can open a dropped picture. A picture dragged from a web browser is saved under ~/.cache/termbench/dropped/ and that path is typed. Dropping on an SFTP or FTP browser window still uploads. It also fixes the "no entry" cursor when dragging onto TermBench on Wayland desktops (KDE Plasma, GNOME). Tried on KDE Plasma (Wayland); not yet on Windows.

1.9.10 adds FTP sessions: choose the session type FTP (port 21) and it opens the two-pane file browser window the SFTP browser uses, this computer on the left and the server on the right. Upload and download files and folders, continue a transfer that broke off, make folders, rename, delete and (where the server allows) change permissions. Leave the user name blank for anonymous FTP. The password is kept in the system password store: pick a credential on the session's Connection page, or type it in the window and press Remember password. FTP over TLS (explicit FTPS) encrypts the login and the files; the server's certificate is remembered the first time and a changed one is refused. Plain FTP sends the password and files unencrypted. Passive mode only; no implicit FTPS (port 990).

1.9.9 adds VNC sessions (port 5900): a VNC server's desktop in a tab, the way RDP sessions work, with keyboard and mouse, the text clipboard, Ctrl+Alt+Del and full screen. For Linux desktops (TigerVNC, x11vnc) and virtual machine consoles (QEMU/KVM). The VNC password is asked for in the tab only when the server wants one, with Remember password as for RDP. On TigerVNC the desktop resizes with the tab; on other servers it is shown at its own size, made smaller to fit. Encrypted VNC logins (VeNCrypt, RealVNC's and Apple's own) are not supported yet, so use it on a trusted network or through an SSH tunnel.

1.9.8 passes the mouse to programs that ask for it: the wheel, clicks and drags work in Claude Code's full-screen view, htop, mc and vim with the mouse on. Hold Shift to use the mouse in TermBench instead (select text, the menu, the scrollback). In full-screen programs that don't use the mouse, such as less, the wheel sends the arrow keys.

1.9.7 fixes the mouse wheel not scrolling back through output from programs that keep a fixed area at the bottom of the screen, such as Claude Code.

1.9.6 lets you put the tabs in a different order: drag a tab left or right along the tab bar.

1.9.5 fixes Lua scripts not starting ("No such file or directory") in a TermBench that was open while its Linux package was upgraded.

1.9.4 adds Remember password to the RDP login: tick it and, once the login works, the password is kept in the system password store (Windows Credential Manager, or the desktop keyring on Linux) as a credential named after the session, and that session logs straight in from then on. A refused password is never kept, and the settings file only gets the credential's name. Remove it in Tools → Credentials.

1.9.3: session names in the Session Manager line up on the left instead of being centred, and the Windows installer can install for everyone on the computer as well as just for you.

1.9.2 fixes what a review of the whole program found. Security: on Windows the scripting interface's password was always the same, so other programs on the computer could use it; BBSes from the BBS Directory or a SyncTERM list were given the default session's logins (an RLogin credential, SSH key or agent); updates are now only installed from https downloads with a checksum. It also fixes crashes and hangs (a host could crash the terminal with certain screen sequences; Add Key with a wrong passphrase hung the program; a stalled port forward froze the session), settings that could be replaced with defaults when a file could not be read, uploads to SFTP servers without the fsync extension, Zmodem files over 4 GiB, and many smaller problems in sync, SFTP, Zmodem, Kermit, the terminal, RDP and scripting. Sync no longer makes the window wait for the sync folder. See the version history for the full list.

1.9.1 fixed the BBS Directory: Save as session now puts the BBS in the Sessions folder, like New Session, instead of above it at the top of the Session Manager.

1.9.0 added the BBS Directory (toolbar button or Tools → BBS Directory), like the dialling directory in SyncTERM:

  • Update lists downloads the Synchronet BBS List and the Telnet BBS Guide, only when you press it. The Synchronet list comes from the Kalgoorlie Retro BBS with Telnet addresses first, so you reach each BBS's own login and new-user screen.
  • BBSes you have called stay at the top under Recent, with the Kalgoorlie Retro BBS always first. Search by name, address or description.
  • Connect opens the BBS in a tab with the BBS settings; Save as session adds it to the Sessions folder in the Session Manager. A BBS listed only for SSH asks whether to use Telnet or SSH with your user name, and remembers the answer.
  • Add your own BBSes, and add or change list addresses. A list update never changes a BBS you have called: a new address is offered instead.

1.8.2 added:

  • Copy Public Key to Server (Tools menu, or right-click an SSH session): like ssh-copy-id, it logs in once with your password, adds your key to ~/.ssh/authorized_keys with the permissions SSH requires, skips a key that is already there, and checks that the key then logs in on its own.
  • Clearer window edges: windows inside TermBench have a darker border and a shadow, the SFTP browser's two sides are each in an outlined box, and each new browser opens offset from the last.

1.8.1 fixed: Tear-off tabs on Windows with several monitors: a tab dragged out could open its window off the screen (it looked minimised), and dragging it back often did not dock. Window positions are now worked out in screen pixels, and a new window opens where the tab was dropped.

1.8.0 added:

  • Tear-off tabs: drag a tab down out of the tab bar to give it its own window; the session keeps running. Dock it back with "Dock to Main Window", by closing the window, or by dragging it onto the tab bar (not on Wayland). Right-click a tab for Move to New Window.
  • RDP sessions: connect to Windows Remote Desktop in a normal tab (TLS with Network Level Authentication), with the desktop fitted to the tab, keyboard and mouse, text clipboard, Ctrl+Alt+Del and Windows key buttons, and a remembered server certificate. You can also use the system RDP program (FreeRDP or mstsc) instead.

1.7.0 added:

  • Function keys: F1 Help, F2 Session Options, F3 / Shift+F3 Find next / previous, F4 Quick Connect, F5 Reconnect, F6 next pane, F7 SFTP Browser, F8 send a file, F9 logging, F11 full screen, F12 run a script (Shift+F12 cancel, Ctrl+F12 run the last one again). F10 and Alt+F1 to Alt+F12 go to the remote program, and a session option gives it all of them.
  • SSH: jump hosts and Ed25519 certificates in the built-in engine, about 40 OpenSSH -o options, and "Use FIPS-approved algorithms only" (it limits algorithms; TermBench is not a FIPS 140 validated module).
  • Sync between computers through a shared folder such as Nextcloud, Syncthing or Dropbox: sessions, folders, credential user names, button bars and the default session. Passwords are never synced.
  • Terminal: sixel graphics, double-width and double-height lines, left/right margins, real 132-column mode, selective erase and 8-bit C1 controls.
  • Easier settings: highlighting and key mappings in tables with a colour picker and a "press a key" button; Script > Run remembers the last script; after an update the window comes back as it was.
  • macOS: the source now supports macOS and includes a build script for a Mac with Homebrew. It has not been tried on a Mac yet, so there is no Mac download.

1.6.1 made scripts much faster and let you copy from the Activity pane. 1.6.0 added:

  • A two-pane SFTP browser: this computer on the left, the server on the right. Upload >> and << Download copy the selected files and folders across, and double-clicking a file copies it to the other side. New Folder, Rename and Delete work on both sides.
  • Resumed transfers: an interrupted upload or download continues where it stopped the next time you send the same file, as long as the original has not changed.
  • Permissions: tick read, write and run for owner, group and others on server files and folders.
  • Transfers keep the modification time, and uploads from Linux keep the file's permissions.

1.5.0 added update notifications (a daily check with Update Now, Not Now and Skip This Version, and Help → Check for Updates) and fixed pasting on Wayland desktops. 1.4.0 added split panes, the SFTP browser, the SSH agent window with smartcard support, X11 and agent forwarding, certificate and Kerberos logins in the built-in SSH engine, built-in Xmodem, Ymodem and Kermit, fuller VT220 emulation and the Wyse 60 and SCO ANSI terminal types. See the version history for everything.

Checked with 240 automated tests (including the BBS Directory against a local web server and test BBSes, and a real download of both BBS lists) (including an RDP test server): SSH against a private OpenSSH server (key, certificate and agent logins, agent and X11 forwarding, forwards, compression), the SFTP browser against the same server (also through jump hosts), password and keyboard-interactive logins, remote and SOCKS forwards, FIPS mode and Ed25519 certificates, Xmodem, Ymodem and Kermit against lrzsz, gkermit and C-Kermit, smartcard keys with a software token (SoftHSM), the update check against a test release, plus Telnet, RLogin, serial over a pseudo-terminal, Zmodem and real Python and Lua scripts. The Windows build was checked under Wine and on Windows Server 2022, where it needs a graphics driver with OpenGL 2.0 to open its window. A real BBS was checked over Telnet. Kerberos was not tested against a real Kerberos server, and updating through the Windows installer has not been tried yet (updating the Linux package has). Read the limitations before relying on it.

Source and licence

Written in Rust with egui, libssh and Lua. TermBench is free software under the MIT licence; bundled components keep their own licences (vt100, the VGA font, libssh, OpenSSL, zlib). The scripting modules are adapted from Lantern Terminal.

Build instructions · MIT licence

Questions and bug reports: slaterm@theiguru.au.