Reference

Transputty documentation

This is the reference manual for Transputty for Windows, version 0.1. It documents a development build: there is no public release yet, and labels, defaults and behavior described here will change before one.

Development build. This manual describes Transputty 0.1, an internal build for Windows 11 (x64). There is no public download yet; see release status. User interface labels are quoted exactly as the app shows them, including its British spelling ("Favourites", "Behaviour").

For step-by-step tasks, use the tutorials, starting with your first SSH tunnel on Windows. This page is the reference: what each term, state, field and code means.

Concepts and vocabulary

Term Meaning
Connection One saved SSH server (host, port, user, login method, optional jump hosts) together with its forwarding rules. One connection is one SSH session.
Rule One port forward carried by a connection. A connection can have several.
Local rule, "Local (-L)", badge L A port on this PC leads to a destination reached from the SSH server. See local port forwarding.
Remote rule, "Remote (-R)", badge R A port on the SSH server leads to a destination reached from this PC. See remote port forwarding.
SOCKS rule, "SOCKS (-D)", badge D A SOCKS5 proxy on this PC; each proxied connection leaves from the SSH server. See dynamic port forwarding.
Jump host An intermediate SSH server on the way to the target, shown as "Hop 1", "Hop 2" and so on.
Group A name typed in the editor's "Group" box. Connections with the same group are listed together.
Favourite A starred connection. Favourites have a sidebar filter and a section in the tray flyout.
Beacon The round on/off control on each connection row. Settings can replace it with a switch.
Inspector The right-hand panel with details of the selected connection.

The main window

  • Sidebar. Filters: "All connections", "Active", "Favourites", "Needs attention" and "Recent" (used in the last 7 days). Below them, "Groups" and "Settings". At narrow window widths the sidebar becomes an icon rail.
  • Toolbar. "+" (new connection), "Connect" or "Disconnect" for the selection, reconnect, the search box "Search connections, hosts, ports", and buttons for density, theme, the inspector and settings.
  • "Harbor status" card. A one-line summary above the list: "All tunnels healthy", "Everything is off", "No connections yet" or "N need attention", with total traffic down and up.
  • Connection list. One row per connection with its Beacon, status pills and traffic. A row with several rules expands to show them, each with its own switch and pill. Group headers offer "Connect all in …" and "Disconnect all in …". A problem shows a callout under the row.
  • Inspector. Tabs "Overview", "Statistics", "Log" and "Host keys".
  • Status footer. "Online" with "N tunnels up · N sockets", or "Offline" with "Ports held until the network returns".

The row menu (right-click, Shift+F10 or the Menu key) contains: connect or disconnect, "Open in inspector", "Edit…", "Show rules" or "Hide rules", "Turn on/off rule …", "Add to favourites" or "Remove from favourites", "Copy" with the endpoint, "Copy ssh command" and "Remove connection…".

The Welcome page replaces the list while there are no connections. It offers "Import from SSH config", "Start from a preset", "New connection" and a box to paste an ssh command. Import and paste are available only there.

The main window: sidebar with filters and groups, the 'Harbor status' card, a connection row expanded to its two rules, and the inspector's Overview tab. In the screenshots on this page Transputty is connected to local test servers with fictional host names, which is why the round-trip times are under a millisecond.

Connection states

Each connection shows one main pill. Every pill has a glyph and a word, so state never depends on color.

Pill Meaning
"Disconnected" Off. Nothing is listening.
"Connecting…" Opening the TCP connection to the server or the first jump host.
"Verifying server…" Checking the host key.
"Authenticating…" Logging in.
"Verify server" Waiting for you to confirm an unknown host key.
"Needs password", "Needs passphrase", "Needs 2FA code" Waiting for you to answer a prompt. An unanswered prompt times out after 5 minutes and the connection goes to "Failed" ("Prompt not answered").
"Connected" The SSH session is up. A second pill "N of M rules failed" appears when some rules could not start.
"Reconnecting" with a countdown The session dropped and the next attempt is scheduled. Local and SOCKS ports stay bound.
"Waiting for network" Windows reports no network. Attempts resume when it returns; ports stay bound.
"Failed" Stopped with an error that is not retried automatically. A tag gives the cause, such as "Login rejected" or "Host key changed". Local and SOCKS ports stay bound until you disconnect.
"Disconnecting…" Closing.

Rule states

Pill Meaning
"Active" The rule is listening and forwarding.
"Pending" The rule is starting, or its connection is still connecting.
"Port held" The connection is not up (reconnecting, waiting, or failed). The listener is still bound and accepts connections; each waits for up to 10 seconds and is closed if the tunnel is not back. See Reconnect behavior.
"Error · …" This rule could not start, for example "Port in use". Other rules are unaffected.
"Off" The connection is off.
"Stopped" You turned this rule off with its switch.

Creating a connection

The editor is one scrolling dialog. These are the steps in the 0.1 build.

  1. Click + in the toolbar or press Ctrl+N. The dialog "New connection" opens.
  2. Under Start from a preset, pick one of nine: PostgreSQL, MySQL, SQL Server, MongoDB, Redis, Web, NAS, RDP or SOCKS. A new connection always starts with the PostgreSQL preset applied (name postgres-tunnel, one local rule 127.0.0.1:5432 to localhost:5432). If the local port is busy, the preset takes the next free one and says which program holds the usual port.
  3. Under Connection, enter a Name (it must be unique), optionally a Group, and pick a Service icon.
  4. Under SSH server, enter Host (a name or address only, without user@), Port (22) and User.
  5. Under Authentication, choose "SSH agent" (the default), "Key file", "Password" or "Interactive".
  6. Adjust the rule under Forwarding rules, or click Add rule for more.
  7. Optionally set Behaviour and click Test connection. The test resolves the name, opens the port and reads the SSH banner. It does not log in, and with jump hosts it tests the first hop only.
  8. Click Save & connect or Save. Both stay disabled while a field is invalid, and the first problem is shown next to them.
  9. On the first connection, compare the fingerprint in the host key dialog and choose Trust and connect or Connect once. (An imported connection may skip this dialog; see Host key prompts.)
  10. With "Password", answer the prompt "Password for user@host". There is no password field in the editor for the server itself.

Editing an existing connection uses the same dialog ("Edit…" in the row menu, or the pencil in the inspector). Rule changes apply live to a running connection; changes to the server or login reconnect it, and the button reads Save & reconnect. The editor footer shows the Equivalent OpenSSH command; it is a display aid, and Transputty does not run ssh.

The editor for an existing connection: 'Connection', 'SSH server', 'Authentication' (here 'Password'), the jump host section with its 'Route' preview, and the start of 'Forwarding rules'.

Walk-throughs: your first SSH tunnel on Windows and connecting to PostgreSQL through a tunnel.

Rule fields

Field Local (-L) Remote (-R) SOCKS (-D)
Name Your label Your label Your label
Listen address On this PC. Loopback only: 127.0.0.1, localhost or ::1 On the SSH server. Use localhost or 127.0.0.1 On this PC, loopback only
Port (listen) Port on this PC. Empty means automatic Port on the server Port on this PC, 1080 in the preset
Destination host and Port Reached from the SSH server. localhost means the server itself Reached from this PC None: the client names the destination
'Forwarding rules' with one rule of each kind. The selected 'Remote (-R)' rule shows its fields and diagram; 'Behaviour' and the equivalent OpenSSH command are below.

Notes:

  • Add rule creates rule-N as a local rule on 127.0.0.1, the next free port from 8080, to localhost:80.
  • The editor rejects a listen address on this PC that is not loopback ("exposes the tunnel to your network"), and two local or SOCKS rules on the same address and port.
  • The presets use localhost as the destination host, which the SSH server resolves itself. If the service listens on IPv4 only and the connection is refused, type 127.0.0.1 as the destination host instead.
  • A remote rule needs the server's cooperation. If the server refuses, the rule shows "Server refused to listen"; check AllowTcpForwarding in sshd_config, or whether the port is already used on the server.
  • Transputty always asks the server for a loopback listener for a remote rule. The server has the final say: with GatewayPorts yes in its sshd_config the port is opened on every interface whatever the client asks.
  • The SOCKS rule speaks SOCKS5 with the CONNECT command only, without a proxy username or password. Host names sent by the client are resolved on the SSH server; choose the client's "proxy DNS" or socks5h option to send names. SOCKS4 clients do not work. See SOCKS proxy over SSH.

Authentication

Option What happens
"SSH agent" Transputty asks the agent on the Windows OpenSSH agent pipe to sign. "Agent keys to offer" limits how many keys are tried: 3 (default), 1, 2, 5 or no limit. In 0.1 this has been tested with a mock agent only. Pageant is not supported. If the agent has no key the server accepts and the server allows it, Transputty then asks for interactive answers or a password, so an agent connection can still show a prompt.
"Key file" Type the path or click "Browse…". OpenSSH and PEM private keys are read; Ed25519, RSA and ECDSA were tested. The key card shows type, size, passphrase protection, SHA256 fingerprint, comment and warnings. A .ppk, public-key, DSA or damaged file is an error and blocks saving.
"Password" Asked in a prompt at connect time. Tick "Save in Credential Manager" to store it; it is saved only after the login succeeds. The password is reused for automatic reconnects while the connection is on.
"Interactive" Keyboard-interactive: the server asks its own questions, such as a password and a one-time code. Answers are never cached, so each reconnect asks again.

With "Key file" you can tick "Also use the SSH agent (a key it holds is used without the passphrase)", and then "Only the agent key matching this file (IdentitiesOnly)". An encrypted key prompts "Unlock" with the file name, allows three tries, and offers "Remember the passphrase (encrypted with Windows DPAPI)". The key file is read only after the server's host key has been verified.

A login the server rejects is never retried automatically. The connection shows "Failed" with "Login rejected" and offers "Re-enter password…" or "Retry". More in SSH key authentication; converting PuTTY keys is covered in How to use SSH private keys.

Jump hosts

Under Jump hosts (ProxyJump), click Add jump host. For each hop set Jump host, Port, User and its Login: "SSH agent", "Key file", "Password" or "Interactive / 2FA". A hop password may be typed in the editor and saved with "Save in Credential Manager".

  • The first hop is the one this PC connects to; the last hop connects to the server. Reorder with "Move Hop N earlier" and "Move Hop N later".
  • The maximum is 8 hops. One and two hops were tested against real servers.
  • Route previews the path: This PC, each hop, the server, the destination.
  • Every hop's host key is verified ("Verify jump host …"), and prompts and errors name the hop ("jump hop 1").
  • Each jump host must allow TCP forwarding, because the next leg is opened through it.
One jump host with its own login, and the 'Route' preview: This PC, hop 1, the server, the destination.

Host key prompts

Unknown server. The dialog "First connection to this server" shows the SHA256 fingerprint, randomart and an ssh-keygen -lf hint for checking on the server. "Trust and connect" saves the key in Transputty's known_hosts. "Connect once" connects without saving. "Cancel" stops the connection and saves nothing.

Changed key. If the key differs from the saved one, Transputty shows "Security stop" with "Host key changed: connection blocked" and the buttons "Copy details", "Open Host keys…" and "Close". There is no accept button and no setting that allows the connection. After confirming the change with the server's administrator, open the inspector's "Host keys" tab, choose "Remove saved key for …", confirm with "Remove key", and connect again to verify the new fingerprint.

Transputty uses its own known_hosts file in the OpenSSH format. It does not read or write the one in your .ssh folder, apart from a one-time copy offered during import. Host certificates (@cert-authority) are not supported.

Which connections ask. Connections created in the editor always ask about unknown servers. A connection imported from an OpenSSH config keeps the policy from its StrictHostKeyChecking line: yes refuses unknown servers without a prompt; accept-new saves an unknown server's first key without asking; no or off is imported as accept-new and marked with a warning in the import list. A changed key is blocked in every case. The 0.1 editor does not show or change this policy.

Reconnect behavior

  • Keepalive. "Keepalive (s)" in the editor, 0 to 3600, default 30; 0 turns it off. Three missed replies mark the connection dead. Each probe waits one interval for its reply, so with the defaults a silent failure takes about 90 to 120 seconds to detect.
  • Backoff. With "Reconnect automatically" on (the default), attempts start after about 1 second and double up to 60 seconds, with jitter. The delay resets once a connection has been up for 30 seconds. "Retry now" skips the wait; "Stop" ends it.
  • Ports. Local and SOCKS listeners stay bound while reconnecting. A client that connects in that time is held for up to 10 seconds. If the tunnel is back by then, the connection goes through; if not, it is closed (a local forward resets it, so the client sees an error rather than an empty reply).
  • The cost of "Port held". While a rule shows "Port held", its port accepts TCP connections although the tunnel is down. A plain port check such as Test-NetConnection 127.0.0.1 -Port 5433 reports success, and a client waits up to 10 seconds instead of failing at once. Health checks should make a real request through the tunnel. In 0.1 the 10 seconds are fixed and the behavior cannot be switched off.
  • Remote rules. A remote listener lives on the server, so it ends with the session. After a reconnect Transputty asks the server for it again. If the server still holds the port from the dead session, the request is refused, the rule shows "Server refused to listen" and it is not retried by itself, even after later reconnects: click "Retry" on the rule. Setting ClientAliveInterval on the server makes it drop dead sessions sooner.
  • Logins that need you. A password is kept in memory while its connection is on, so a password login reconnects without asking. "Interactive" answers such as one-time codes are never kept, so every reconnect asks again. If nobody answers within 5 minutes, the connection goes to "Failed" with "Prompt not answered" and stays there until you click "Retry". A connection that depends on a one-time code therefore cannot recover unattended.
  • Not retried: a rejected login, a changed or rejected host key, an unusable key, an unanswered prompt and a cancelled prompt. In "Failed", local and SOCKS ports stay bound and behave as described under "Port held" until you disconnect.
  • Manual disconnect. A connection you switch off stays off.
  • Network and sleep. Transputty listens for Windows network and power events. Handling of real sleep, wake and network changes has been tested by simulation only.

Background: automatic reconnection.

Statistics and log

  • Overview tab: live traffic ("Receiving", "Sending", "Sockets"), then "Forwarding", "Server", "Health", "Reconnect history" and "Diagnostics" with "Open log" and "Copy diagnostics". The diagnostics report contains no secrets.
  • Statistics tab: ranges "2 min", "30 min" and "24 h" with average, peak and bytes; "Per rule" bars; "Availability · 24 h" with a timeline, outage count and longest outage; "Session totals"; "Reconnect log" (up to 100 entries). Availability counts only the time you wanted the connection on. History is kept for 24 hours and survives a restart. "Round trip" is the time the last keepalive reply took. It shows "—" until the first reply arrives (30 seconds after connecting, with the default interval), while the connection is down, and always when keepalive is off. It is a single latest reading, not a monitored history.
  • Log tab: "Events", newest first, with time, text and an error code where there is one (the last 60 are shown, of up to 300 kept per connection), and "State history" with the last 16 state changes. The log is held in memory only. It cannot be saved or exported and is cleared when Transputty exits.
  • Host keys tab: the saved key type and fingerprint for the server and each jump host.
The Statistics tab on the '2 min' range: live throughput, then 'Availability · 24 h' and the per-rule bars. The traffic is real test traffic to a local test server; the 24-hour availability in this capture is seeded demo data.
The Log tab: 'Events', newest first, with an error code where there is one (here BIND_IN_USE, then the rule's move to another port), and 'State history'.

Error codes

Codes appear in the Log tab and in callouts. A jump-host error names the hop.

Code Shown as Meaning Retried? What to do
DNS Host not found The host name did not resolve Yes Check the name, or the VPN that provides its DNS
CONNECT Server unreachable TCP connection refused, or no route to the host Yes Check host, port and firewall. See connection refused
TIMEOUT Timed out No answer while connecting or during the handshake Yes Check the network path and the port
AUTH_FAILED Login rejected The server rejected every credential, or refused further attempts No "Re-enter password…" or "Edit authentication…"
AUTH_PROMPT_TIMEOUT Prompt not answered A prompt waited 5 minutes without an answer No "Retry" and answer the prompt
AUTH_INTERRUPTED Login interrupted The connection was lost during login without a reason from the server A few delayed attempts at most, never when an interactive answer would be needed again Retry; if it repeats, check the server's log
HOSTKEY_UNKNOWN_REJECTED Server not trusted You declined an unknown host key. Nothing was saved No "Verify again…"
HOSTKEY_MISMATCH Host key changed The server's key differs from the saved one No Confirm with the administrator, then remove the saved key in "Host keys"
HOSTKEY_REVOKED Host key revoked The key is marked @revoked in known_hosts No Do not connect; ask the administrator
NEGOTIATION No common encryption No algorithm in common, or the server ended the connection with a message before its host key was accepted No "Allow legacy algorithms…" for this connection, if the server is old
KEY_UNSUPPORTED Key not usable The private key file could not be read or is in an unsupported format No Pick an OpenSSH or PEM key; convert .ppk with PuTTYgen
TRANSPORT_CLOSED Server stopped responding (tag); the callout is titled "Connection lost" The SSH connection closed or was reset Yes Nothing; "Retry now" to skip the wait
KEEPALIVE_TIMEOUT Server stopped responding Keepalive replies stopped Yes Nothing. See tunnel keeps disconnecting
BIND_IN_USE Port in use Another program holds the rule's local port No (rule) "Use :N" for the next free port, or "Retry" after closing the other program. See local port already in use
BIND_PERMISSION Port needs admin rights Windows refused the listen address or port (Windows error 10013). Despite the label, Windows does not require administrator rights for ports below 1024, and elevation does not help. The usual cause is a port in a range reserved by Hyper-V, WSL 2 or Docker Desktop, or one that another program holds exclusively No (rule) Choose another port: "Use :N" or "Edit rule…". netsh interface ipv4 show excludedportrange protocol=tcp lists the reserved ranges
REMOTE_FORWARD_REFUSED Server refused to listen The server declined a remote rule. This can also happen right after a reconnect, while the server still holds the port from the dead session No (rule) "Retry" on the rule. Check AllowTcpForwarding and whether the port is free on the server
CHANNEL_OPEN_FAILED Destination unreachable The SSH server could not reach the destination, or does not allow TCP forwarding Not applicable: reported per forwarded connection Check the destination host and port as seen from the server
RULE_LIMIT Too many connections A limit was reached: simultaneous connections on a rule, rules on a connection, or connections No Close unused client connections or remove rules
CANCELLED Cancelled You cancelled a prompt or a connection attempt No "Retry"

INTERNAL, BAD_HANDLE, BAD_ARGUMENT and SHUTTING_DOWN are internal codes that should not appear in normal use; if one does, send the output of "Copy diagnostics" to support. Two warnings can appear in the log without stopping a connection: AGENT_UNAVAILABLE (no SSH agent answered) and AGENT_KEYS_LIMITED (the agent holds more keys than "Agent keys to offer" allows, so some were not tried).

Keyboard shortcuts

Keys Action
Ctrl+N New connection
Ctrl+F Search
Ctrl+, Settings
Ctrl+Alt+I Show or hide the inspector
Ctrl+C Copy the selected connection's endpoint (not while typing in a text box)
Ctrl+Shift+C Copy the equivalent ssh command (not while typing in a text box)
F6 / Shift+F6 Next / previous pane
F8 Next connection with a problem
Esc Leave Settings; clear and leave the search box; close the tray flyout
↑ / ↓ Previous / next row in the list
Home / End First / last row
→ / ← Show / hide the rules of a connection with several rules
Space Connect or disconnect the focused connection
Enter Open the focused connection in the inspector
Shift+F10 or Menu key Row menu

Shortcuts do not fire while a dialog is open.

Where data is stored

Everything is per user, under %LOCALAPPDATA%\Hankinsoft\Transputty:

Path Contents
profiles.json Connections and rules. No secrets. Written atomically; the previous version is kept as profiles.json.bak
settings.json App settings
known_hosts Trusted host keys, OpenSSH format
history\ One .bin file per connection: 24 hours of traffic and availability, and the reconnect log
secrets\ DPAPI-encrypted files: remembered key passphrases, and any password too large for Credential Manager. Only your Windows account can decrypt them

Saved passwords are in Windows Credential Manager under targets that begin with Transputty/. Private keys are not copied: the connection stores the path. "Open at login" for the unpackaged build adds an entry under the current user's Run key. Transputty has no telemetry, account or cloud service in 0.1, and makes no network connections other than the SSH connections you configure; see privacy and security.

Settings reference

Open Settings from the sidebar, the toolbar gear or Ctrl+,. Only settings that take effect in 0.1 are listed in the table.

Tab Setting Choices (default first)
General "Open at login" Off, on. Starts Transputty in the tray
General "When the window closes" "Keep in tray", "Quit"
General "Connect favourites at launch" Off, on
Appearance "Theme" "System", "Light · Harbour mist", "Dark · Deep sea"
Appearance "Tint the backdrop with health" On, off
Appearance "Connect control" "Beacon", "Switch"
Appearance "Density" "Comfortable", "Compact"
Appearance "Overview at launch" "Expanded", "Collapsed"

The Connections, Security and Advanced tabs also show read-only information: the keepalive and backoff defaults, where passwords are kept, the path of Transputty's known_hosts, the engine version and the data folder.

Per-connection options are in the editor under Behaviour: "Reconnect automatically" (on), "Connect at launch" (off), "Allow legacy algorithms" (off) and "Keepalive (s)" (30).

Not active yet in 0.1. These controls are shown and saved, but nothing reads them: "Reconnect after sleep" and "Keep ports while reconnecting" (both behaviors are always on), "Unknown servers" (connections created in the editor always ask; imported ones keep their imported policy), "Use the SSH agent" (agent use is chosen per connection) and "Log level". The "Windows notifications" switches are partly active: the current build shows a plain tray balloon, and notifications with action buttons are unverified.

Known limitations

  • Windows 11 x64 only. The ARM64 build has never been run. English only.
  • No terminal, file transfer, X11, agent forwarding, UDP or VPN. Transputty forwards TCP ports.
  • No .ppk keys, PuTTY session import, Pageant, SSH certificates, FIDO security keys, smart cards or Kerberos.
  • SOCKS5 CONNECT only: no SOCKS4 and no proxy authentication.
  • Listeners are loopback only; the editor cannot share a tunnel on the network.
  • Import from an OpenSSH config and pasting an ssh command are available only on the Welcome page, and the config path is fixed to the config file in your .ssh folder. ProxyCommand and Match blocks are not imported; each skipped directive is listed.
  • Groups cannot be renamed, reordered or recolored. Connections cannot be duplicated, reordered by dragging, exported or synced.
  • The log is in memory only. There is no log file and no debug logging.
  • The keepalive miss count, backoff limits, connect timeout (20 seconds) and hold time (10 seconds) have no control in the editor. An OpenSSH config import can set the miss count and connect timeout from ServerAliveCountMax and ConnectTimeout.
  • The host key policy has no control in the editor either. An imported connection keeps the policy from StrictHostKeyChecking, including accept-new, which saves an unknown server's first key without asking.
  • A remote rule refused after a reconnect is not retried automatically, and a login that needs a one-time code cannot reconnect unattended.
  • A held port accepts TCP connections while the tunnel is down, so a plain port check cannot tell whether the tunnel works.
  • No connection to the SSH server through an HTTP or SOCKS proxy; only jump hosts (ProxyJump).
  • "Allow legacy algorithms" has not been tested against a legacy-only server.
  • The SSH agent, sleep and wake, network changes, contrast themes, text scaling and screen readers have been tested by mock or simulation only.
  • No installer, update check or crash reporting exists yet.

The features page tracks which of these change, and the FAQ answers the common questions in short form.

Sources and further reading

Transputty keeps SSH tunnels running on Windows

Local, remote and SOCKS5 forwards in one window, automatic reconnection with ports that stay bound, and a clear reason when something fails. In development; no public build yet.