Repository navigation
Releases
TGK 0.5.0
Added
- Agents (MCP) can use open SSH tabs:
list_sessionslists the terminal tabs open in TGK, andrun_commandand the
file tools takesessioninstead ofhostto work over a tab's own connection (no new sign-in, also for hosts that
ask for a one-time code and for Quick Connect tabs, which follow the defaults for all hosts).read_terminalreads
a tab's screen and history, andsend_to_terminaltypes text and keys into it, for shells and programs a separate
command cannot reach (aftersu, in a container, a device console). Typing needs approval in Ask mode and is refused
in Read only. See docs/AGENTS.md, "Open sessions". - Sync server packages with automatic updates: the sync server now has releases of its own (
server-vX.Y.Z,
apart from the client's; changes in docs/SERVER-CHANGELOG.md), with ready-to-run Linux builds and
tgk-server-manage.sh, which installs the server on any systemd Linux (a Proxmox LXC too) and then looks after it:
every night it installs a newer server release of the same MAJOR version (checked against SHA-256 sums; the
database is snapshotted first, and a version that does not start is rolled back and skipped) and backs up the
database. A new install has self-registration off. See docs/SERVER.md. - tgk-server
--known-proxy <ip|cidr>: trustsX-Forwarded-For/-Protofrom a reverse proxy on another machine
(e.g. HAProxy ending TLS for a subdomain). Before, only a proxy on the same machine was trusted, so behind another
one every client had the proxy's address and they all shared one sign-in rate limit. - tgk-server
backup <file>: a consistent copy of the database while the server runs (no sqlite3 needed), and
--version.
Changed
- The tab strip is the window's title bar on Windows: the system title bar above the tabs is gone, and the strip
has its own minimize, maximize/restore and close buttons at the right (the sign-in screen has them too). Its empty
space works like a title bar: drag it to move the window or snap it to the screen's edges, double-click it to
maximize, right-click it for the window menu. Resizing from the edges, Win+arrow keys and the Windows 11 snap layouts
on the maximize button work as before. Linux and macOS keep the system title bar for now.--system-titlebarbrings
the old title bar back. - Sync keeps edits made on two devices: when another device changed the same entry before this one's change
reached the server, the two are merged instead of the last one silently winning: fields changed on one device only
are kept from that device, a field changed on both keeps this device's value (TGK says so), and an edit wins over a
delete. TGK also notices a server restored from an older backup and uploads again what it lost. This needs a sync
server with protocol 2 (tgk-server 1.0.0); TGK refuses older servers before using your password, and such servers
in turn ask TGK 0.4 and older to update. - Agent access Full now means full: no more approvals for sudo or for the built-in protected paths (keys,
.env,/etc/shadow, credentials), including commands that only might reach them (globs, variables, recursive
searches). Only the protected paths you add to a host or group still ask. Read only and Ask are unchanged. - tgk-server no longer needs the ICU library (
libicu), which minimal containers lack.
Fixed
- Vault sync keeps what newer clients wrote: saving an identity, known host, saved tabs or the vault settings no
longer drops fields added by a newer TGK; tunnel types, sign-in methods and agent modes from a newer TGK are kept (and
never used as something else) instead of making the host or identity unreadable; and an item this version cannot
read is hidden instead of showing a stale copy that could be saved over the newer one. - Agents on Windows: an agent going away ends its calls. When its
tgk-mcpended abruptly (the client closed),
TGK saw a reset instead of end-of-file and let the agent's calls run on, with their approval dialogs still open. TGK_CONFIG_DIRsets TGK's config directory on every platform (it also holds the agent socket then). On
Windows, where .NET ignores anAPPDATAoverride, the agent tests used to find a TGK running on the machine instead
of their own; they now pass there too, andscripts/test.shruns on Windows (Git Bash).- tgk-server under systemd (or any start from
/): it no longer watches the whole file system for settings
files before listening, which took minutes and hundreds of MB of memory; it now starts in a moment. - Agents (MCP) from Claude Desktop on Windows:
tgk-mcpcould not reach TGK when started by an MSIX-packaged
client (Claude Desktop's Code tab), which sees AppData redirected, and reported "TGK is not running" although TGK
was serving. The agent socket is now in%USERPROFILE%\.tgk;tgk-mcpalso names the socket error it got.
What's Changed
- Agents: socket for MSIX clients, open SSH tabs, Full access that asks for nothing built in by @AlexandruMindra in #5
- TGK_CONFIG_DIR, agent tests isolated on Windows, a dropped agent ends its calls by @AlexandruMindra in #6
- Server ready for production: own release line, sync protocol 2, hardening by @AlexandruMindra in #7
- Website for tgk.aptsolutions.ro by @AlexandruMindra in #9
- Client: the tab strip is the window's title bar on Windows by @AlexandruMindra in #8
Full Changelog: v0.4.0...v0.5.0
TGK Server 1.0.0
The first release of the server on its own release line. Until now it was built from source (it is part of the
repository since TGK 0.1.0) or taken from the client's nightly builds.
Added
-
Sync server for TGK: one self-contained executable with one SQLite file, for Linux x64 and ARM64
(tgk-server-linux-x64,tgk-server-linux-arm64; no .NET, no ICU needed). Accounts with sign-in by password plus an
authenticator app (TOTP), signed-in devices that users can sign out, password change, and sync of the end-to-end
encrypted vault (the server stores only ciphertext). Each account holds at most 50,000 items and 64 MB. -
Admin commands on the database, also while the server runs:
users,user create <name>(an invite code for
"Create an account", which also works with registration closed),user show|disable|enable|delete|reset-totp| revoke-sessions <name>,registration on|off|status,backup <file>(a consistent copy while the server runs)
and--version. -
--known-proxy <ip|cidr>(orTGK_KNOWN_PROXIES): trustsX-Forwarded-For/-Protofrom a reverse proxy on
another machine (e.g. HAProxy ending TLS for a subdomain), so client addresses and rate limits are right behind it. -
tgk-server-manage, which installs the server on any systemd Linux (a Proxmox LXC too) and looks after it: a new
install has self-registration off; every night it backs up the database and installs a newer server release of the
same MAJOR version (checked against SHA-256 sums; the database is snapshotted first, and a version that does not
answer withinTGK_HEALTH_TIMEOUTseconds, 120 by default, is rolled back and skipped).tgk-server-manage rollbackgoes back to the previous version with its snapshot;statusshows the last update's result. Install:
https://github.com/AlexandruMindra/TGK/releases/download/server/tgk-server-manage.sh(docs/SERVER.md). -
Sync protocol 2: edits from different devices are no longer lost. A pushed change carries the revision of the
item it was made on; when the item changed since, the server does not overwrite it but returns its current version
(conflictsin the push response), and the client merges both and pushes again.GET /api/vault/manifestlists
every item's revision, so clients notice a server restored from an older backup and give back what it lost. -
Version handshake:
/api/inforeportsminClientProtocol, and every other request must name the client's
protocol inX-TGK-Protocol; older clients (TGK 0.4 and earlier) get426 client_outdated("update TGK") instead of
overwriting other devices' edits.
Changed
- A new database starts with self-registration closed, also without the installer (
tgk-server registration on
opens it). Existing databases keep their setting. - A sign-in no longer tells whether the password was right: without a code the server asks for one first, and a
wrong password and a wrong or reused code get the sameinvalid_credentials. Accounts waiting for a new
authenticator (afteruser reset-totp) are locked for everyone after 5 failures from all networks together. - A warning in the log when requests carry
X-Forwarded-Forfrom a proxy that is not trusted (--known-proxy). tgk-server-manage:TGK_AUTO_UPDATE=0in server.env now stops the nightly update; the health check also works
when the server serves HTTPS itself;update --forceof the installed version keeps the way back forrollback.- Sign-in lockouts apply per username and client network: someone else's failed attempts can no longer lock a user
out. Failure counts expire after the 5-minute window, and a full lockout table drops only its oldest entries. - Per-client limits count an IPv6 client by its /64 and an IPv4-mapped address as IPv4.
- Expensive auth requests are limited across all clients: at most one prelogin/login/registration/password change
per CPU at a time, a few more wait briefly, the rest get503 server_busywithRetry-After. - Registering without an invite code gets the same answer for every username while registration is closed, so
pending invites cannot be discovered. - Sessions end 365 days after sign-in at the latest, even when used every day (and after 30 days without use, as
before). - Stricter connection limits (15 s for request headers, 75 s keep-alive, a minimum data rate) and generic messages
for malformed requests. - The server has its own version (
/api/infoandtgk-server --versionreport it in full, e.g.1.0.0) and its
own releases,server-vX.Y.Z; installed servers follow those instead of the client's releases.
Fixed
- Starting under systemd (or from
/) no longer watches the whole file system for settings files before listening,
which took minutes and hundreds of MB of memory. tgk-server-manage(compared with the nightly builds' copy): settings with spaces in/etc/tgk/server.env(e.g.
TGK_EXTRA_ARGS=--rate-limit 40) no longer break updates, backups and thetgk-serveradmin wrapper; an update
whose database snapshot cannot be written (disk full) is aborted with the old server still running, and the free
space is checked before the server is stopped; the server is started again if the update is interrupted; the
health check compares the full version; unit changes ship with updates; a plainupdateskips a failed version too;
installwaits for a running update; downloads are HTTPS only; one release fewer is kept, as intended (3).
TGK Server (newest)
Points installed servers to the newest sync server release, now server-v1.0.0. Not a release of its own: every server release replaces its files. Install and updates: docs/SERVER.md.
Nightly 0.6.0-nightly.83
Automatic build of main at d72830b (0.6.0-nightly.83). Not a stable release: it is replaced on every push. Stable versions: the releases tagged vX.Y.Z.
Changes since the last release
Changed
- The tab strip is the window's title bar on Linux too, as on Windows: the system title bar above the tabs is gone,
and the strip has its own minimize, maximize/restore and close buttons at the right (the sign-in screen has them
too). Drag its empty space to move the window (the desktop's snapping and tiling at the screen's edges work as
before), double-click it to maximize, right-click it for the window menu. The window resizes from its edges and
corners. Needs X11 or XWayland and a window manager that moves windows for applications (_NET_WM_MOVERESIZE, which
the common desktops support); elsewhere the system title bar stays.--system-titlebarbrings it back.
TGK 0.4.0
Added
- Retro color schemes: Amber CRT (an amber phosphor monitor: every color a shade of amber, told apart by
brightness), Commodore 64 (its 16 colors on the blue screen), MS-DOS (IBM CGA's colors on black), Synthwave '84
(80s neon) and Teletype (ink on paper). - VT323 font (after the DEC VT320's) is bundled and offered with the terminal fonts; it suits the retro schemes.
It is scaled so a font size looks alike in it and in DejaVu Sans Mono, and bold text is drawn bolder. - Full screen:
F11(or "Full screen" in the account menu) makes TGK cover the whole monitor it is on, without
the window's title bar and the system taskbar;F11again puts the window back as it was (size, place, maximized).
F11 is now TGK's own key: it no longer reaches the terminal. - Local terminal: a tab with a shell of this computer, next to your SSH sessions (in a split view too): "Local
terminal" on the new-tab page,Ctrl+Shift+Enter, or "New local terminal" in a tab's menu. Linux and macOS run your
shell ($SHELL) in a real terminal (vim, htop, Ctrl+C, job control); Windows runs PowerShell 7 or Windows PowerShell,
or Command Prompt, WSL or Git Bash (ConPTY, Windows 10 1809 or later). Settings → Terminal picks the shell, on each
device. It uses your default terminal settings and starts in your home folder;exitcloses the tab. "Reopen my
tabs" reopens it as a shell of the device you sign in on. Agents never see local terminals. - Drag a saved host from the sidebar onto the content area to open it right where you drop it: beside a pane, in
a new split view, in place of a new-tab page, or onto the tab strip for a new tab. - Run a command on many hosts: right-click a group in the sidebar → Run a command on all hosts… (also on
Ungrouped, or right-click a host → Run a command…) opens a tab that runs one command on all the checked hosts at
once, 10 at a time; its list has every saved host by group, to check or uncheck hosts and whole groups. Each host is
reached as a terminal would be (jump hosts, saved credentials, host-key checks); the command runs without a terminal
and with its input closed, so one that waits for input ends instead of hanging. The list shows each host's progress
and exit code, and each host's output appears beside it as it finishes (errors in red, colors kept, other escape
sequences dropped), or one host's output alone when you click it. As root (sudo) runs it through sudo (the saved
password is tried first), Stop after sets a time limit, Stop ends the run. What the vault lacks (passwords, sudo
passwords, unknown host keys) is asked one prompt at a time; "Use it for the other hosts of this tab too" spares
typing the same password again. Typed passwords are kept in memory only, until the tab closes. ↑ / ↓ in the command
field recall the commands run before.
Changed
- Split view drag and drop: while a tab, a pane's title bar or a saved host is dragged over the panes, the split
view shows how it will look if you let go there, the new pane growing in from its side. Near a pane's outer edge it
goes beside that pane only; along a divider, between the two panes it separates; at the outer end of a divider,
beside everything that divider separates (e.g. a full-height pane right of two stacked ones); in the middle of a pane
it swaps two panes of a split view, or fills a new-tab page. Nothing is drawn elsewhere, and dropping there does
nothing. - Update check: TGK now asks GitHub for a newer version on every start, in the background as it starts (nothing
waits for the answer; the last one shows until it arrives), instead of at most twice a day and only 45 seconds after
the window opened. A new nightly build is seen at the next start. - Color schemes: the scheme shown on the first card (the default, or the one inherited from the group or the
defaults) is no longer offered a second time; TGK Dark no longer appears twice in Settings.
Fixed
- Terminal scrollbar: its thumb can now be dragged to scroll through the history, and a click on the scrollbar
jumps there; before, only the mouse wheel scrolled. Pointing at the right edge of a terminal with history shows the
scrollbar (wider), also when it is not scrolled back. - Settings, New host / Edit host, group settings: the first of these dialogs in a run no longer freezes the window
for seconds (and no longer adds hundreds of MB of memory) on systems with many fonts installed, as is common on
Linux. The terminal font list now opens only the fonts whose name suggests a terminal font, and is built in the
background at startup; a font chosen on another device and installed here still works even if it is not listed. - High-resolution displays: TGK now follows the display's scale (Windows' Scale setting, e.g. 175% on a 4K
screen; Xft.dpi on Linux). Text and everything else were drawn at 100% there and looked tiny. The window opens at
the scaled size, and moving it to a display with another scale, or changing the scale while TGK runs, rescales the
UI. macOS already scaled correctly. (Blossom 0.1.8, the UI library, now does this itself.) - Sharper text and lines: text in the UI and the terminal is now drawn with subpixel antialiasing (like ClearType
on Windows) instead of grayscale, which looked blurry next to other apps. At a fractional display scale (e.g. 125%)
borders, separators, the text cursor and icons are aligned to whole screen pixels, so a 1px line is no longer
smeared over two. (Blossom 0.1.9; macOS keeps grayscale text, as macOS itself does.) - Files: the folder shown now updates by itself when its contents change elsewhere (e.g. a file created from a
terminal or by another program): while the pane is on screen it is listed again every few seconds in the
background, and right away when you come back to it. Selection, cursor and scroll stay put; very large folders
are checked less often. Before, only Refresh (F5) showed such changes. - Sign-in screen: a note now says that these fields are the TGK account's and that SSH passwords and private keys
are set for each host after signing in; the password-only form was taken for the SSH login.
What's Changed
- Marketing: presentation video for YouTube, built from code by @AlexandruMindra in #2
Full Changelog: v0.3.0...v0.4.0
TGK 0.3.0
Added
- Agents (MCP): Claude Code and other MCP clients can work on your saved hosts through TGK: run commands, read,
search and edit files, copy files up and down. Turn it on in Settings → Agents (off by default) and register TGK
with Claude Code once (the tab gives the command); TGK must be running. Hosts stay closed to agents until you open
them, per host, per group or for all hosts, in the new Agents tab: Read only, Ask (you approve every change in TGK,
with the exact command or a diff of the file) or Full, plus commands that may run without asking and paths that
always need approval (keys and other secrets are protected out of the box). Commands as root (sudo) are always
approved by you, and TGK supplies the password. Agents never see passwords or keys; the status bar shows when they
are connected, and every call is listed in the activity view, mirrored in an "Agent log" tab and kept in an audit
log. See docs/AGENTS.md. - Files (SFTP): a Files tab per host (right-click a host → Browse files, or Browse files in a terminal's
menu). Browse folders (back, forward, up, a path to type, a name filter, hidden files with Ctrl+H, sortable columns),
upload files and folders (pick them or drop them on the window), download them to the Downloads folder or anywhere,
with a transfer panel (progress, speed, time left, cancel) and Replace / Skip for names that already exist. Open or
edit a file in a local program: each save is uploaded back. New folder or file, rename, move, delete, permissions,
copy paths, open a terminal in a folder. Connects through the host's jump hosts with its credentials (a one-time
code is asked once); symbolic links are shown with their target, and deleting or renaming one never touches what it
points to. Files tabs are reopened at their folder with "Reopen my tabs" (older versions open them as terminals). - Files: split view: open a pane beside a Files tab (toolbar → panes, or More): another folder of the same host
(same connection, no second sign-in), this computer's files, or another saved host. Copy or move between panes by
dragging (onto the pane or one of its folders; Shift moves, Ctrl copies), withF5/F6, or from the context
menu, after a confirmation. Within one host a move is a rename. Between two hosts you choose the route: Through
this computer (each file goes through a private local buffer, the hosts never connect to each other) or Directly
between the hosts (host A copies to host B over SSH with B's vault credentials, checked against B's trusted host
key, nothing left on A; B's key works in any format the vault takes — PuTTY, PEM, PKCS#8, with a passphrase — as it
is converted for ssh on host A). Panes refresh when a transfer into them finishes; local panes are reopened too. - Files: built-in text editor: text files open in TGK itself, beside the file pane (double-click or Enter, Edit
/ F4, or View / F3 for read only), without downloading them: line numbers, undo and redo, find and replace
(Ctrl+F, Ctrl+H), go to line (Ctrl+G), Tab indents (with the file's own tabs or spaces), the file's encoding and line
endings kept. Ctrl+S saves straight to the host: written beside the file and put in its place, keeping its
permissions and owner, after checking that nobody changed it meanwhile. Files you can't read or write are opened and
saved as root with sudo when you ask (the password is asked for, never stored). Logs (*.log,/var/log) open read
only at their end and follow what is added; files over 8 MB show their last 2 MB. Closing a tab, signing out or
quitting with unsaved changes asks first. Other files (images, archives, documents…) still open in a program here.
Fixed
- Windows, macOS: resizing the window by dragging its edge now repaints the content live, instead of only once the
mouse button is released.
Full Changelog: v0.2.4...v0.3.0
TGK 0.2.4
Added
- Generate SSH keys (Keys & identities → Generate…): a new Ed25519 key (recommended) or RSA 4096 key (for older
servers) is created on the device and kept in the vault with the identity. - Copy public key for any identity's private key, as an
authorized_keysline to add on your servers. - Keys found on this device: when an identity has no key yet, the private keys already on the device are listed so
one click loads them. Only the usual places are searched, never the whole disk:~/.ssh(and its subfolders), the
IdentityFiles of~/.ssh/configand the keys used by saved PuTTY and WinSCP sessions; Search Downloads, Desktop,
Documents also looks at the top level of those folders. Encrypted keys are listed without asking for their
passphrase, and keys already in the vault are marked. Nothing leaves the device until you save the identity. - Remove a loaded key (× in the key box) to pick another one, e.g. from the keys found on this device.
Full Changelog: v0.2.3...v0.2.4
TGK 0.2.3
Changed
- TGK now uses the UI framework Blossom from its NuGet package (0.1.1) instead of a copy built from source, with
SkiaSharp 4 and Silk.NET 2.23 underneath. The screens look and behave as before, with these differences:- Held keys repeat at your system's keyboard repeat delay and rate (TGK used a fixed 400 ms delay, then 30 per
second). - Less CPU and battery use while TGK sits idle: the window now sleeps until there is input, terminal output or
something to animate, instead of waking about a thousand times a second.
- Held keys repeat at your system's keyboard repeat delay and rate (TGK used a fixed 400 ms delay, then 30 per
- Updated SkiaSharp (2.88.3 → 4.153) and ImageSharp (2.1.2 → 3.1.12), which had known high-severity vulnerabilities
(GHSA-j7hp-h8jx-5ppr,
GHSA-65x7-c272-7g7r).
What's Changed
- Use Blossom 0.1.1 from NuGet instead of the submodule (0.2.3) by @AlexandruMindra in #1
New Contributors
- @AlexandruMindra made their first contribution in #1
Full Changelog: v0.2.2...v0.2.3
TGK 0.2.2
Added
- Move panes by drag and drop: drag a pane's title bar (or a tab from the tab strip) over the split view. Near an
edge of a pane it goes beside that pane on that side (left, right, above or below); over the middle of a pane of the
same split view the two swap places; onto the tab strip it becomes a tab of its own. Without a split view on screen,
dropping a tab at an edge of the current tab starts one. The drop zone is highlighted while dragging. - Update channel (Settings → Startup, per device): Stable (releases only) or Nightly (the latest build of
main, plus releases when they are newer). Switching back to Stable never downgrades: a nightly build stays until a
release newer than it comes out. By default the channel follows the installed build.
Changed
- A tab in the tab strip is activated when the mouse button is released (unless it was dragged), so dragging a tab
that has not connected yet is no longer interrupted by its password prompt.
Full Changelog: v0.2.1...v0.2.2
TGK 0.2.1
Added
- Drag tabs in the tab strip: drop a tab between two others to move it there; drop it onto the middle of another
tab to show the two side by side (a split view). Dropped between two panes of a split view it joins that split view;
dragged out of its split view's tabs it becomes a tab of its own again. Two panes of the same split view dropped
onto each other swap places. - Search saved hosts from the new-tab page: what you type in the connect bar also searches your saved hosts by
name, user and/or host (root@,@10.0,deploy@web, a group name…).↓/↑choose a match and Enter connects
to it; an address typed in full that belongs to a saved host connects with that host's settings. - Terminal font: choose the bundled DejaVu Sans Mono or any monospace font installed on the device, in Settings →
Terminal and per group or host (Appearance). A device without the chosen font uses the bundled one. - Hidden sidebar opens on hover: with the sidebar hidden, rest the pointer at the window's left edge to show it
over the content; it hides again when the pointer leaves it.
Changed
- Terminal settings sync: font, font size, color scheme, scrollback, cursor style, blinking and copy-on-select are
now stored in your vault and follow you to every device (or stay in your local vault). The first device that starts
this version moves its own terminal settings into the vault, unless the vault already has some. - Settings: the color scheme and font size moved from the Appearance tab to the Terminal tab, next to the new font
choice; the Appearance tab is gone. "Legacy algorithms" moved to the Connection tab (in Settings, group settings
and the host editor).
Full Changelog: v0.2.0...v0.2.1