Skip to content
Aliazadi-1776Public

About

Your servers. One terminal. Rust + OpenTUI SSH workspaces for Linux and Windows — tabs, split panes, saved profiles and keyboard-first controls.

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

WASH pixel terminal _W icon

WASH

Your servers. One terminal.
SSH workspaces with tabs, splits, saved servers and a real terminal in every pane.

Linux and Windows build status راهنمای فارسی · Keyboard guide · Downloads

WASH provides its own desktop window and a terminal CLI. The Linux app embeds a real VTE terminal in a native GTK4 window; Windows has a native app launcher. Rust owns PTYs and system OpenSSH, while TypeScript/OpenTUI render the workspace. You can also build from source and run the CLI without installing the app.

v0.9.0 is a development preview. SSH workspaces, profiles, layouts, a dual-pane SFTP file manager and a streaming transfer queue are implemented. The project is progressing toward the WASH 1.0 blueprint.

Native WASH Linux application window Actual GTK/VTE application window with a private test configuration.

Four SSH sessions in a WASH workspace Actual native framebuffer: four independent SSH sessions against an isolated loopback test server. No production server or credential appears in the image.

What works

  • Real terminals: cursor movement, true color, alternate screen, scrollback, resizing, bracketed paste and interactive programs.
  • Independent sessions: tabs, right/down splits, a 2×2 grid, draggable dividers and pane zoom. Up to four panes per tab and 16 live sessions overall.
  • Files: local ↔ remote SFTP panes, multi-select, recursive transfers, two-worker queue, exact byte progress, cancel/retry and explicit collision choices.
  • Saved servers: searchable profiles, groups, favorites, edit/duplicate/delete, and a read-only SSH-config import preview.
  • Connect in the right place: choose a saved server directly inside an empty split with Saved servers / F4.
  • Keyboard and mouse: a command picker, safe prefix shortcuts, copy/paste, selection copying and Linux middle-button paste.
  • Persistence: atomic versioned profile/layout files. Reopening a layout starts fresh SSH sessions; it does not restore remote processes or terminal contents.
  • System SSH security: existing keys, agent and config, normal host-key checks and interactive password/MFA prompts. Optional saved passwords use Linux Secret Service or Windows Credential Manager.

Linux and Windows

Capability Linux x64 / glibc Windows x64
Build from source; run in an existing terminal Supported Native build/ConPTY lane in CI
Desktop app with _W icon Native GTK4/VTE window Native app/console launcher; CI validates it
SSH, tabs, splits, zoom, profiles and layout metadata Supported Covered by native platform tests
Saved password auto-login Secret Service / GNOME Keyring Native Windows Credential Manager
Full Bash/Zsh/Vim/Neovim/htop/Nano/tmux acceptance suite Tested over loopback OpenSSH Remote editor acceptance not yet certified
SFTP / transfer queue OpenSSH, local ↔ remote, two workers Same engine and native Windows paths

For CLI use, choose a modern terminal, at least 80×24, with UTF-8 and mouse support; Windows Terminal is recommended for the Windows CLI. x64 is the packaged/tested target; ARM64 and macOS are not release targets yet. The CI badge links to the actual run results.

Download and run

Native installers and portable packages are available on the Releases page. They include Node, the compiled Rust engine and TUI; you do not need npm or a compiler to use them. System OpenSSH is still required.

Download Install / run
WASH-v0.9.0-windows-x64-setup.exe Run the per-user installer, then open WASH from Start. Optional desktop icon. No admin rights for WASH installation.
wash-ssh_0.9.0_amd64.deb sudo apt install ./wash-ssh_0.9.0_amd64.deb
wash-ssh-0.9.0-1.x86_64.rpm sudo dnf install ./wash-ssh-0.9.0-1.x86_64.rpm
WASH-v0.9.0-linux-x86_64.AppImage chmod +x WASH-v0.9.0-linux-x86_64.AppImage, then ./WASH-v0.9.0-linux-x86_64.AppImage --install-app and open WASH from your menu.
Windows .zip / Linux .tar.gz Extract the whole folder; open bin/wash-app.exe / bin/wash-app for the app. wash-ssh.cmd / wash-ssh remain available for CLI use.

Verify the accompanying .sha256 file. DEB/RPM packages add wash-ssh to PATH and install the app-menu entry and pixel icon. Native Linux packages use /usr/lib/wash; they do not overwrite the unrelated system wash utility. Debian package dependencies include the OpenSSH client. The EXE installer installs under %LOCALAPPDATA%/Programs/WASH by default and provides a standard uninstaller. Removing any native package retains profiles/keyring entries and user-created files. When switching from the source-linked app launcher to a native package, first run npm run uninstall:app from that source checkout to remove its per-user menu/PATH override; your profiles remain.

Linux binaries require glibc ≥2.39. Ubuntu 24.04 and Fedora 44 are the installation-test targets; older distributions need a source build. The Linux app owns a GTK4 window with an embedded VTE terminal. It does not launch a separate terminal application. DEB/RPM install the GTK4 and VTE GTK4 runtime dependencies automatically. AppImage/portable users need those system libraries; on Ubuntu: sudo apt install libgtk-4-1 libvte-2.91-gtk4-0. System OpenSSH and the usual C++/atomic libraries are also required.

From a file manager, the AppImage opens the WASH window. From a terminal it uses that terminal; pass --app to open the app window explicitly. --install-app registers the persistent AppImage path and pixel icon in your menu; keep the file in place. --uninstall-app removes this integration while retaining profiles. Without FUSE, use --appimage-extract-and-run.

Windows installers are unsigned preview builds. The engine and app launcher include their C runtime. SHA-256 files detect corruption; they are not signatures.

Build from source — no app installation required

Requirements: Rust/Cargo ≥1.89, Node ≥26.4, npm, Git and an OpenSSH client. CI pins Rust 1.97.0 and Node 26.13.1. Windows also needs the MSVC C++ build tools used by the standard Rust toolchain. See Rust installation, Node downloads and Windows OpenSSH installation. Node 24 cannot run the pinned OpenTUI native FFI.

Linux

# Ubuntu / Debian desktop build dependencies
sudo apt install build-essential pkg-config libgtk-4-dev libvte-2.91-gtk4-dev
git clone https://github.com/Aliazadi-1776/WASH.git
cd WASH
npm ci
npm run build
./bin/wash-app

For a headless CLI build without GTK/VTE development packages, use npm run build -- --cli-only, then ./bin/wash-ssh. Fedora desktop build dependencies are gcc pkgconf-pkg-config gtk4-devel vte291-gtk4-devel.

If you need a project-local Node runtime, python3 scripts/bootstrap-node.py downloads and checksums the pinned official runtime; then run export PATH="$PWD/tools/node/bin:$PATH" before npm commands. System Node is left alone.

Windows / PowerShell

git clone https://github.com/Aliazadi-1776/WASH.git
cd WASH
npm ci
npm run build
.\bin\wash-ssh.cmd

Use native PowerShell/Windows Terminal for the Windows build. WSL follows the Linux instructions and uses Linux SSH/config/credentials. npm run build:release compiles an optimized engine. npm run package creates a portable archive under deliverables/ using that release engine and the current official Node runtime. Then npm run package:installers builds EXE on Windows (Inno Setup 6 required), or DEB/RPM/AppImage on Linux (dpkg-deb, rpmbuild, desktop-file-validate, mksquashfs required). AppImage tools are downloaded from official upstream releases and checked against committed SHA-256 pins; changed upstream binaries fail closed. npm run test:installers exercises real install/run/uninstall in disposable Windows CI and Ubuntu/Fedora containers, plus AppImage execution.

Optional: add WASH to your apps

From a source build:

npm run install:app

On Linux this installs wash-ssh and wash-app under ~/.local/bin, the pixel icon and a WASH menu entry under ~/.local/share. Open WASH from the app menu or use wash-app for the native WASH window, with its own title, icon and window controls. Ctrl+Shift+C/V copy and paste; the toolbar, F12 C/V and middle click use the focused window's native clipboard through a private local IPC channel.

wash-ssh runs the TUI in your current terminal. Add ~/.local/bin to PATH if needed. Reopen WASH from the menu after upgrading. Existing SSH sessions are retained.

On Windows this installs a per-user Start-menu shortcut and icon under %LOCALAPPDATA%/Programs/WASH. The menu opens the native wash-app.exe launcher: a dedicated system console with WASH's embedded pixel icon, window icons and AppUserModelID. It uses Windows' built-in console host without changing your default terminal. From source you can also use .\bin\wash-app.cmd; the portable ZIP includes bin\wash-app.exe. .\bin\wash-ssh.cmd runs inside your current terminal. To also add the CLI launcher to your user PATH:

npm run install:app -- --path

For a portable bundle, use its included Node directly:

# Linux
./tools/node/bin/node scripts/install.mjs
# Windows
.\tools\node\node.exe scripts\install.mjs --path

Keep the source/bundle directory in place: the app launcher points to it. Rerun the installer after moving it. Uninstall with npm run uninstall:app, or the bundled Node plus scripts/install.mjs --uninstall. Profiles, keyring entries and source are retained; edited launcher files are retained too. --no-desktop installs only the CLI wrapper; --prefix PATH selects another install prefix. No administrator privileges are needed. The existing system wash Wi-Fi scanner is untouched; the SSH command is wash-ssh.

Connect your first server

wash-ssh                         # connection form
wash-ssh my-ssh-alias             # uses your normal SSH config
wash-ssh deploy@example.com
wash-ssh -p 2222 -l deploy -i /path/to/key example.com
wash-ssh --layout grid my-ssh-alias

Before installing the CLI wrapper, use ./bin/wash-ssh on Linux or .\bin\wash-ssh.cmd on Windows. Enter a host/SSH alias and press Enter. user@host already includes the username. Leave Port blank to preserve the SSH config port. SSH asks for host-key approval and passwords inside that pane. A password prompt intentionally does not echo typed characters.

Connection form with saved-server access

Two different servers side by side: connect the first, press Ctrl+Space, release both keys, press D, then choose Saved servers / F4 or type a new host. The second connection opens in that split. The first stays connected.

Saved server picker inside a split

To save a profile, choose Servers → Add or Save server… in the form. The sidebar opens a saved server with Enter/double-click. To replace an existing pane's connection, use its context menu → Change this pane server.

Keyboard first

On Windows use F12 as the prefix. It also works on Linux. Ctrl+Space is available where the host/Node delivers it; native Windows Node can drop this key. Press F12 twice to send F12 to the remote program.

Press Ctrl+Space (or F12), release it, then press the next key within three seconds. For example: Ctrl+Space → release → 2 switches to tab 2. The footer shows the available actions. These are sequential keys, not a three-key chord.

After Ctrl+Space or F12 Action
T or N New independent SSH tab
1…9 Switch tab
D New empty split for another server on the right
G 2×2 grid
Z Zoom / restore the focused pane
Arrows Resize the focused pane
W / X Close current tab / focused pane
P Search commands, open tabs, saved servers and layouts
M Context menu; ↑↓ selects, Enter runs
S Show / hide the server sidebar
C / V Copy selection / paste
R / H / Q Reconnect / help / quit
Escape Cancel the prefix
Ctrl+Space again Send NUL to the remote process
Direct keys / mouse Action
Alt+1…9 Switch tab
Alt+Arrow Move focus between split panes, including while zoomed
Double-click pane header Zoom / restore; double-clicking terminal text selects text
Click tab; tab × / middle-click tab Switch / close tab
Click pane; drag divider Focus / resize
Ctrl+Insert / Shift+Insert Copy / paste
Select text; middle-click terminal/input Copy selection; paste Linux PRIMARY, falling back to clipboard
Shift+right-click Host terminal context menu
F4 in connection form Saved server picker for that exact pane
Tab / Shift+Tab in forms Next / previous field
Enter / Escape in picker Open result / return to previous draft
F2 / Delete / Space in server list Edit / confirm removal / favorite
Enter / F5 in profile editor Save / save and connect
Ctrl+Shift+Delete in profile editor Forget saved password on Save

Ctrl+C/D/Z/W keep their remote shell/program meanings. Ctrl+Shift+T/C/V/P and other Ctrl+Shift aliases are optional: host terminals may intercept them. Use F12 when Ctrl+Shift+T opens a host terminal tab or your desktop/input method reserves Ctrl+Space. You can also use the visible toolbar, Alt tab/pane keys and command picker alias. WASH cannot intercept keys consumed before they reach the terminal.

Commands provides split down/right, profile actions, SSH import, layout save/open and Copy visible terminal screen. Opening a layout starts fresh SSH processes. See all controls and modal behavior.

SFTP file manager

Choose Files in the toolbar, or press F12, release it, then F. The first open uses the current SSH server. F4 selects the current SSH server or a saved server; its saved password, key, agent and SSH configuration work here too. Each pane keeps its directory, history, filter and selection. Reopening retains the chosen SFTP server and refreshes the directories. The other pane's directory is the transfer destination. Terminals and transfers keep running when you leave this view.

Real SFTP workspace and transfer queue Native OpenTUI framebuffer with an isolated SFTP peer and actual temporary files; one completed upload and one transfer awaiting a collision decision.

Key Action
Tab Switch local / remote pane; return from queue to files
↑ / ↓, Enter, double-click Navigate; open folders or show file metadata
Backspace, Alt+Home Parent directory / home
Alt+← / Alt+→ Directory history
Ctrl+L, Ctrl+R, Ctrl+F Enter path / refresh / filter
Space, Ctrl+A, Shift+↑/↓ Mark file / select filtered rows / select range
Ctrl+click, Shift+click Toggle selection / select range
F4 Choose saved SFTP server
F5 Copy selected files/folders to the other pane
F6 or F2, F7, F8 Rename / create folder / confirmed deletion
S, P, I Swap panes / toggle mode and time preservation / metadata
F9 Focus the transfer queue
Queue Enter, C, R, Delete Details or collision decision / cancel / retry / clear finished
F10 or Esc Return to SSH; transfers continue

Right-click a file, or choose More, for the same actions. A conflicting name waits for a decision: press F9, select the item, then Enter. Enter a new name, skip it, or explicitly overwrite a regular file. Cancelling the dialog leaves the transfer waiting. Existing folders are never merged. Delete defaults to Cancel. Long paths, warnings and authentication prompts scroll with the mouse wheel or Page Up/Down in their dialogs. Unfamiliar host keys still require OpenSSH's fingerprint confirmation; changed keys are refused.

Limits and recovery: two active transfers, 200 queue records, 200 selected roots per action, 10,000 entries per directory/recursive plan and 64 folder levels. Files stream in bounded chunks through temporary destinations. Interrupted regular temporary files are removed where possible; retained directories/partials are reported in queue details. Retry starts a new job. Symlinks and special files are shown and skipped during recursive copies with explicit warnings; links are never followed recursively. P opts into mode/mtime preservation. There is no resume after app exit or persistent queue; closing WASH cancels its work. No remote-to-remote mode, content preview or automatic file execution is provided. See implementation and security details.

Copy, paste and permissions

Selection copies automatically; the toolbar offers Copy and Paste. Remote apps keep their mouse modes; hold Shift for local selection where supported. Paste respects the remote program's bracketed-paste mode.

A failed clipboard read opens an in-place dialog: R retries the desktop API; A explicitly asks the host terminal via OSC52. A supporting terminal may show its own permission prompt. WASH cannot grant desktop access itself. Escape cancels; Shift+right-click opens the host terminal menu for manual paste. Reads/writes are bounded to 1 MiB, and a delayed paste is cancelled when focus changes.

Automatic updates

WASH checks its GitHub releases on launch and every 24 hours, then downloads a newer compatible package in the background. F12 → U, the Updates toolbar button or Commands → Check for updates opens its status and controls. A turns automatic checks/downloads on or off; C checks or cancels; I installs a verified download; Escape returns to your terminal.

Downloads use HTTPS and must match the exact asset size and GitHub SHA-256 digest. Interrupted/corrupt files are discarded. Installation waits for this window's SSH sessions to close; it never terminates them automatically. Profiles and OS-vault passwords stay in their existing locations.

  • Windows: WASH closes its own window, then starts the verified Inno installer. Complete Setup and reopen WASH. Close other WASH windows before replacing files.
  • AppImage: replaces the same AppImage atomically; choose Restart when ready.
  • Per-user Linux bundle: installs a separate version, switches app launchers, and offers Restart. The previous payload remains available for rollback.
  • DEB/RPM: opens the verified package in your distribution's package installer; its normal authorization/dependency dialog completes installation. A desktop package installer must be registered for that format.
  • Source / unregistered Linux portable folders: reports the new release and opens its build instructions. Update with Git and rebuild; local edits are never overwritten by the updater. Windows ZIP users can install the native EXE.

Development previews (0.x) follow newer preview releases. A future stable 1.x installation accepts stable releases only. Update trust is GitHub HTTPS/release metadata; packages do not yet have an independent signing key. Details: update implementation and limits.

Passwords, keys and config

On Linux and Windows, Servers → select profile → F2/Edit → Password (save) → Save (or F5 to save/connect). This switches authentication to Password. Later opening the saved profile uses the password automatically, including inside a split.

The password lives in Secret Service, tested with GNOME Keyring. Install your distribution's libsecret-tools; unlock your keyring if asked. The optional python3 scripts/bootstrap-secret-tool.py prepares the pinned utility locally when system libsecret is available. There is no plaintext fallback. A reopened password field stays empty with “Password saved”; blank keeps the previous value. Forget saved password removes it on Save. Duplicating a profile does not copy its password. Changing its endpoint/auth invalidates the old credential binding.

On Windows, the same field saves a user-scoped Generic Credential in Windows Credential Manager, protected by Windows. No extra utility or admin rights are needed. Double-clicking the saved server uses it automatically, also in another tab or split. Forget/delete removes its WASH credential; an unavailable vault falls back to hidden interactive entry. Keys/agent remain available.

Setting Location / meaning
Linux profiles/layouts $XDG_CONFIG_HOME/wash/config.toml or ~/.config/wash/config.toml
Windows profiles/layouts %APPDATA%/wash/config.toml
WASH_CONFIG_DIR Absolute alternate config directory
WASH_NODE / WASH_ENGINE / WASH_SSH Explicit executable overrides
WASH_SECRET_TOOL Explicit Linux Secret Service utility
-F, -i, -p, -l SSH config, key path, port, username

Normal OpenSSH host verification remains enabled. Passwords are absent from TOML, argv, environment and logs; only public credential references are persisted. SSH config import reads aliases/Includes without running directives or modifying the original. OpenSSH evaluates actual connection settings, including trusted config commands, when connecting. Read the security notes.

Test and contribute

npm ci
npm run build
cargo test --workspace --locked
npm test
# Python + test-only AsyncSSH peer required:
python -m pip install -r tests/requirements.txt
npm run test:portable
# Native host PTY / Windows ConPTY test:
cargo run --locked --example host-smoke -- "$PWD"

Set WASH_TEST_PYTHON to your test Python executable (python on Windows). In PowerShell pass $PWD.Path instead of "$PWD" for the final command if needed. Full Linux acceptance also runs real Bash, Zsh, Vim, Neovim, htop, Nano and tmux through loopback OpenSSH, plus clipboard, profiles, credential vaults and failure cleanup. Follow TESTING.md for its tools and environment. CI runs native Linux and Windows jobs and publishes portable build artifacts.

Fixtures use generated keys, isolated known_hosts/config and loopback-only peers. They do not need a production server or personal credentials. Password/keyring tests use a separate temporary vault. Screenshots are native fixture captures. Never attach real passwords, keys or unreviewed terminal output to an issue.

crates/wash-engine/   Rust PTY, OpenSSH lifecycle, IPC and persistence
packages/tui/src/    OpenTUI workspace, VT rendering and interactions
scripts/            Builds, launchers, installers, packaging and QA
assets/             Exact _W pixel icon: SVG, PNG sizes and Windows ICO
tests/              Real SSH, terminal, clipboard and platform checks
blueprint/          Original product and design references, unchanged

See the architecture, roadmap and changelog. Configurable shortcuts/settings, wider platform/failure/performance hardening remain open. This repository currently declares no application/blueprint license; see third-party notices before redistributing.

About

Your servers. One terminal. Rust + OpenTUI SSH workspaces for Linux and Windows — tabs, split panes, saved profiles and keyboard-first controls.

Topics

Resources

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages