Repository navigation
What's Changed
Added
- Run Local Script runs
.rscsession scripts on many hosts — PR #476, contributed by @shafiev — a.rscscript runs as in Tools → Scripts, in one interactive SSH session per host, with the session's login, jump hosts and saved passwords. A visibleaskquestion with the same text is asked once and the answer goes to every host that asks it; a hidden one (an enable password) is asked for each host, so different privileged passwords work and no host's answer reaches another. The bundled vendor scripts' save question ("Save … to …? Type yes, no, another path…") is answered yes, because the run keeps each host's output itself and does not write the script'slogfiles; APPLY/ERASE guards are still asked. Scripts that start, select, split or move sessions are refused, WinRM hosts are left out, and the cursor-position and device-attribute queries a RouterOS login waits for are answered. A step that fails (anexpectthat times out, a guard) ends the host as Stopped on a script error, with the step named in the output.rustconn-cli run-scriptrefuses a.rscfile and points at the window. API change:rustconn_core::remote_script::ScriptOutcomegainsStepFailed. (rustconn-core/src/remote_script.rs,rustconn-core/src/automation/script.rs,rustconn-core/src/ssh_key_setup.rs,rustconn/src/window/remote_script.rs,rustconn-cli/src/commands/run_script.rs) - Run Local Script picks hosts and scripts in the window — PR #476, contributed by @shafiev — the Hosts row opens a searchable checklist of every SSH and WinRM connection with Select All and Deselect All; Select re-resolves the targets in place, so the host list, the left-out count and the password fields follow without going back to the sidebar, which still seeds the form. A password typed for a host survives deselecting and reselecting it, and only the hosts of the current run are sent one. Available Scripts opens a searchable list of the read-only example, the shell and PowerShell files kept beside it and every
.rscin the script library. A fresh dialog starts from<config>/script-examples/multi-host-inventory.sh, written once and never overwritten, which only prints host, user, kernel and uptime. The confirmation says how many hosts the script runs on and lists them in a scrolled box under the question. (rustconn/src/window/remote_script.rs,rustconn/src/dialogs/script.rs) - Run Local Script keeps one output file per host and re-runs the hosts that did not succeed — PR #476, contributed by @shafiev — each finished host's output goes to
<config>/script-runs/<script>-<timestamp>/<host>-<8 hex of the connection id>.log, mode 0600 because remote output can hold credentials, in folders of mode 0700; an empty file means the host ran and printed nothing, the path is shown under the output, and the files stay until you remove them. A folder or file that cannot be written is named in the same bar with a warning icon. Below 500sp the host list folds behind a header toggle (AdwOverlaySplitView). A finished run with failures offers Re-run Failed, which runs the same script with the same options on those hosts alone, including hosts that never started, after the usual confirmation; the offer lasts while the dialog is open. (rustconn/src/window/remote_script.rs,.kiro/specs/remote-script-rerun-failed/) - Save an RDP connection as View Only — PR #481, contributed by @asgitcode-tech — the RDP page's Features group gains the View Only switch the VNC page has: the session starts with keyboard and mouse input gated, the toolbar's View Only toggle on and the View Only eye on the tab. The toolbar toggle still switches the mode mid-session, and a reconnect of the open tab, including the automatic one after a resize on a server without Display Control, keeps the mode last chosen; the saved connection is not rewritten. It applies to the embedded client only, which the switch's subtitle says: a session that runs as or falls back to external
xfreerdpshows neither the toggle nor the eye. Profiles saved before load with View Only off. API change:rustconn_core::models::RdpConfiggains the public fieldview_only(#[serde(default)]), so code that builds it with a struct literal must add the field. (rustconn-core/src/models/protocol.rs,rustconn/src/dialogs/connection/,rustconn/src/dialogs/template.rs,rustconn/src/embedded_rdp/,rustconn/src/window/rdp_vnc.rs) - Settings ▸ Clients lists
evil-winrm— the Core Clients group gains a WinRM Client row that finds the program the way a session does (thePATH, then the Flatpak host) and shows its path, or how to get it for this package when it is missing. The version is not probed. (rustconn/src/dialogs/settings/clients_tab.rs) - Ctrl+Alt+S opens Tools → Scripts —
win.manage-scripts, rebindable. A command macro already bound to Ctrl+Alt+S now conflicts with it and must be rebound. Run Local Script is the actionwin.run-local-scriptwith no default shortcut, because Ctrl+Alt+L locks the screen on Cinnamon, MATE, Xfce and KDE; bind it in Settings ▸ Keybindings, which shows an action without a shortcut as Disabled. Ctrl+Alt+R and Ctrl+Alt+L stay free for macros. (rustconn-core/src/config/keybindings.rs,rustconn/src/dialogs/settings/keybindings_tab.rs,rustconn/src/dialogs/shortcuts.rs)
Fixed
- Restoring a settings backup no longer loses the Secrets settings and global variables (issue #470) — the restore wrote
config.toml, but the running application kept the settings it had loaded before, and its next save (quitting from the restore dialog, or expanding a group) overwrote the restored[secrets]and[[global_variables]]. Until RustConn restarts,ConfigManager::save_settingsnow refuses to write in a directory where a restore wroteconfig.tomlduring this run, and returnsConfigError::RestoredPendingRestart; callers that report a failed save show it, the rest log it. An archive withoutconfig.tomlfreezes nothing. (rustconn-core/src/config/manager.rs,rustconn-core/src/error.rs) - The View Only eye reaches a tab in a separate window — PR #480, contributed by @asgitcode-tech — toggling View Only on a session whose tab had moved to another tabbed window marked nothing, because the marker only looked at the main window's tabs. That tab now carries the eye, also after a move or a rename. A session detached into a single-session window has no tab to mark. (
rustconn/src/terminal/tab_labels.rs,rustconn/src/window/detach_actions.rs,rustconn/src/detached_window.rs,rustconn/src/session_group_window.rs) - The VNC connecting screen shows one status — PR #479, contributed by @asgitcode-tech — the embedded viewer draws its own status (protocol disc, host, state line, as RDP does), and the VNC tab stacked a second spinner and label on top of it at another height. The tab's own status now shows only for an external viewer, which has none. (
rustconn/src/session/vnc.rs) - Answering a script's question could abort RustConn — the
askdialog held its callback'sRefCellborrow while the callback ran, so a second response, or a callback that drove the script into its next question, panicked inside a GTK signal handler, which aborts the process. The callback is taken out first and run on the next idle, and the runner defers a resume instead of borrowing itself twice. Affects Tools → Scripts as well. (rustconn/src/script_runner.rs) - The Clients tab is translated — the row titles (SSH Client, RDP Client, VNC Client, SPICE Client, WinRM Client) and the hints of missing clients reached
i18n()through a variable, soxgettextnever extracted them and every language showed English. They are now in the catalogues, with one Install the {} package for the Zero Trust CLIs and kubectl. (rustconn/src/dialogs/settings/clients_tab.rs) - The core kubectl probe works with kubectl 1.28 and later —
detect_kubectlpassed--short, which kubectl removed, and got an error instead of the version; it now runskubectl version --client. (rustconn-core/src/protocol/detection.rs) - A missing Bitwarden CLI is reported as missing —
detect_bitwardensaid "Login with 'bw login' in terminal first" whenbwwas not installed. (rustconn-core/src/secret/detection.rs)
Changed
- One missing-
evil-winrmmessage for the session banner andrustconn-cli— the two copies had drifted;rustconn_core::protocol::WinRmHintnow picks the Flatpak, Snap or native case and holds the English text the CLI prints, while the GUI keeps translatable literals. The native text adds the distribution package,gem install --user-install evil-winrm, the Ruby user gembinfolder that must be on the login shell'sPATH, and Homebrew's Ruby on macOS. (rustconn-core/src/protocol/winrm.rs,rustconn/src/window/protocols.rs,rustconn-cli/src/commands/connect.rs) - The script question dialog follows the GNOME HIG — its answer button is the suggested Continue instead of OK, the field carries the question as its accessible label, and a hidden answer uses GTK's password entry (peek icon, Caps Lock warning). Used by Tools → Scripts and Run Local Script. (
rustconn/src/script_runner.rs) - The restore dialog's wording — Settings Restored, Restart Later and Quit Now use header capitalisation, and the reload-failure toast says to restart RustConn instead of "Please restart". (
rustconn/src/dialogs/settings/mod.rs)
Removed
- The unused async credential resolver in
rustconn-core— API removal:rustconn_core::secret::{AsyncCredentialResolver, AsyncCredentialResult, PendingCredentialResolution, spawn_credential_resolution, resolve_with_callback}and their crate-root re-exports had no caller outside their own tests.CancellationToken, which the password dialog uses, keeps its paths and moves tosecret/cancellation.rs. (rustconn-core/src/secret/,rustconn-core/src/lib.rs) - Nine unused
tracing::span_namesconstants — API removal:CONNECTION_ESTABLISH,CONNECTION_DISCONNECT,SEARCH_CACHE_LOOKUP,CREDENTIAL_RESOLVE,CREDENTIAL_STORE,CONFIG_LOAD,CONFIG_SAVE,SESSION_STARTandSESSION_ENDnever opened a span;SEARCH_EXECUTE,IMPORT_EXECUTEandEXPORT_EXECUTEstay. (rustconn-core/src/tracing/mod.rs)
Security
- Passbolt error text no longer shows a short or re-encoded password —
go-passbolt-clican quote its own invocation in an error, andPassboltBackend::redact_secretsreplaced only the exact password, and none shorter than 4 characters. It now masks the value after--password/--userPasswordwhatever its length or quoting, also replaces the JSON-escaped form of a password of 4 or more characters, and replaces a shorter one only as a whole token (abinvalue ab rejected, not incab). Not checked against a realpassboltbinary. (rustconn-core/src/secret/passbolt.rs) - A hidden script answer that nobody takes is wiped — when a run stopped while a question was open, the answer (possibly an enable password) reached a closed channel or a finished engine and was dropped without being zeroized; both places now zeroize it. (
rustconn-core/src/automation/script.rs,rustconn/src/window/remote_script.rs)
Documentation
- External-client install instructions match the code —
INSTALL.mdlists which external programs run on the host in the Flatpak (evil-winrm, KeePassXC,remote-viewer, FreeRDP, custom commands, Local Shell) and which come from Menu → Components…, and gainsevil-winrmandpywinrmrows.USER_GUIDE.mdlists which Components downloads are SHA256-verified (Teleport, Tailscale, Boundary, Hoop.dev, Bitwarden, Proton Pass, kubectl), which are not (AWS CLI, AWS SSM Plugin, Google Cloud CLI, Cloudflare Tunnel, 1Password CLI) and which usepipwithout hashes (Azure CLI, OCI CLI, pywinrm), and adds the user-local gem route and a macOS row for WinRM.MACOS_BUILD.mdasks Ruby for the gem directory instead of hard-coding it, andZERO_TRUST.md,SNAP.md,BITWARDEN_SETUP.md,ARCHITECTURE.md,README.mdandCLI_REFERENCE.mdname the Components manager and the WinRM steps correctly. - The user guide describes the new Run Local Script window and the RDP View Only switch — host checklist, script list,
.rscbehaviour, output files, Re-run Failed, the unbound shortcut, and View Only as an embedded-only starting mode that a reconnect keeps. (docs/USER_GUIDE.md)
Internal
- Two start-up timing markers,
sidebar-populatedandapp-actions-done, split the span betweenstate-readyandpresentedin thestartup_phaselog (RUST_LOG=rustconn::perf=info). (rustconn/src/window/sidebar_sync.rs,rustconn/src/app.rs) - One single-quote helper in
rustconn-core—ssh_tunnel::shell_single_quotecallsshell_escape::escape_path, and the test-only copy insftp.rsis gone; output is unchanged, checked against the old implementation. (rustconn-core/src/shell_escape.rs,rustconn-core/src/ssh_tunnel.rs,rustconn-core/src/sftp.rs) - The RDP row of the Clients tab takes its install hint from the core probe, which knows the macOS
brew install freerdproute. The row shows the embedded IronRDP client instead of a hint, so nothing visible changes. (rustconn/src/dialogs/settings/clients_tab.rs) - The
cli_downloadmodule comment no longer says the unverified-download warning is shown in the UI; it is only logged. (rustconn-core/src/cli_download/mod.rs) - PR #476's translations were redone as a minimal edit — the branch's regenerated
po/files (about 860 changed lines per catalogue) were replaced by the new msgids alone, with the author's translations, andLaunchError::SessionNeedsSshis the enum's last variant so the other discriminants do not shift. scripts/flathub-tag.shnames the cargo-sources step — after writing the Flathub tag it prints./scripts/sync-cargo-sources.shbefore./scripts/release.sh --dry-run, so the other maintainer-only Flathub step after a dependency update is not missed;scripts/test-flathub-tag.shchecks both lines. (scripts/flathub-tag.sh,scripts/test-flathub-tag.sh)scripts/sync-cargo-sources.shinstalls the generator's Python packages itself —flatpak-cargo-generator.pyneedsaiohttp,PyYAMLandtomlkit, which a stockpython3(macOS among them) lacks, so the script failed with a traceback and--checkreported "no network" and passed. It now runs the generator withuv run --script, which reads the dependency list the generator declares inline; withoutuvit checks the three packages first and prints thepipcommand. (scripts/sync-cargo-sources.sh)- Dependabot cargo PRs get a conventional subject (
build(deps): ...), which the commit-subject check accepts. (.github/dependabot.yml) - The weekly RUSTSEC-2023-0071 check stays quiet while
rsacannot be upgraded — it reported a review every Monday because a patchedrsaexists, althoughpicky,sspiandwinscardpinrsa =0.10.0-rc.18. The advisory trigger now fires only when no locked crate pinsrsawith=, and otherwise names the blockers;scripts/test-check-rsa-advisory.shtests it offline and runs underscripts/verify.sh. (scripts/check-rsa-advisory.sh,.github/workflows/check-rsa-advisory.yml)
Dependencies
- byteorder 1.5.0 → 1.5.1, http 1.5.0 → 1.6.0, image-webp 0.2.4 → 0.2.5, muda 0.21 → 0.22 and tray-icon 0.26 → 0.27 (macOS tray; supersede PRs #472 and #474), notify 8.2 → 9.0 (config-file watcher, Cloud Sync watcher, RDP shared folders; adds
xxhash-rust), picky-asn1-der 0.5.7 → 0.5.8, zbus 6.5.0 → 6.6.0 (with zbus_macros 6.6.0 and zbus_utils 6.2.0).getrandom0.4.3 now also servestempfile, anddirs-sysstays on thewindows-sys0.61.2 already in the graph instead of adding 0.101, so no duplicate crate is new. - gettext-rs 0.8.0 → 0.9.0, a breaking release:
LocaleCategorymaps to each platform's values and hides the categories a platform lacks, and the crate now depends onlibc. RustConn uses onlyLcAllandLcMessages, which exist on Linux and macOS, and the rest of the API it calls is unchanged. (Cargo.toml) - Flatpak FreeRDP 3.33.1 → 3.34.1, with its new
sha256, in bothpackaging/flatpak/manifests; the archive's contents match the GitHub release archive, whose published checksum verifies. The Flathub manifest is updated by the maintainer. - taiki-e/install-action 2.88.1 → 2.90.11 in the CI and release workflows (PR #471).
Installation
Flatpak (Recommended)
flatpak install flathub io.github.totoshko88.RustConnSnap
sudo snap install rustconnDebian/Ubuntu (.deb from this release)
sudo dpkg -i rustconn_0.26.9_amd64.deb
sudo apt-get install -f # Install dependencies if neededFedora (.rpm from this release)
sudo dnf install rustconn-0.26.9-1.fc44.x86_64.rpmAppImage
chmod +x RustConn-0.26.9-x86_64.AppImage
./RustConn-0.26.9-x86_64.AppImagemacOS (Homebrew)
brew tap totoshko88/rustconn
brew install rustconn
open $(brew --prefix)/opt/rustconn/RustConn.appAll dependencies (GTK4, libadwaita, VTE, Adwaita icons) are installed automatically.
Requires macOS 13 (Ventura) or later.
OBS Repositories
Packages available at: https://build.opensuse.org/package/show/home:totoshko88:rustconn/rustconn
# Debian 13 (Trixie)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Debian_13/ /' \
| sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Debian_13/Release.key \
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn
# Ubuntu 24.04 LTS (Noble)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_24.04/ /' \
| sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_24.04/Release.key \
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn
# Ubuntu 26.04 LTS (Resolute)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_26.04/ /' \
| sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_26.04/Release.key \
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn
# Fedora 44
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Fedora_44/home:totoshko88:rustconn.repo
sudo dnf install rustconn
# Fedora 43
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Fedora_43/home:totoshko88:rustconn.repo
sudo dnf install rustconn
# openSUSE Tumbleweed
sudo zypper ar https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/openSUSE_Tumbleweed/ rustconn
sudo zypper ref && sudo zypper in rustconn
# openSUSE Leap 16.0
sudo zypper ar https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/openSUSE_Leap_16.0/ rustconn
sudo zypper ref && sudo zypper in rustconnArch Linux (AUR)
yay -S rustconnFreeBSD (Ports)
pkg install rustconnFull installation guide: https://github.com/totoshko88/RustConn/blob/main/docs/INSTALL.md
Verifying your download
Every binary on this release (deb, rpm, AppImage, Flatpak) is covered two ways.
Plain checksums — download SHA256SUMS alongside the asset, then:
sha256sum -c SHA256SUMSSigned build provenance (SLSA, via Sigstore) — proves the file was built by this
workflow from this commit:
gh attestation verify RustConn-0.26.9-x86_64.AppImage --repo totoshko88/RustConn(The snap is signed by the Snap Store; the macOS build is delivered via the Homebrew tap.)