gmuxkit
GPU tmux session manager — start, attach, peek, and remove remote tmux sessions on a GPU server from your laptop.
Close your laptop. Come back later. Your GPU session is still running.
Install
uv pip install git+https://github.com/santhoshkammari/gmuxkit.git
or with pip:
pip install git+https://github.com/santhoshkammari/gmuxkit.git
Setup
Add to your ~/.bashrc:
export GMUX_HOST="user@your-gpu-host" # e.g. ng6355@192.168.1.100
SSH key auth recommended so there are no password prompts.
Usage
gmux <command> [args]
Commands:
start <name> Create a new named tmux session on GPU
attach <name> Attach to a running session (interactive)
peek <name> Print last 3 lines of a session (non-interactive)
ls List all sessions with live screen previews
ls -n List session names + timestamps only
rm <name> Kill session on GPU and remove from local log
Options:
--help, -h Show this help
--version, -v Show version
Workflow
# Start a session on the GPU and kick off work
gmux start mywork
gmux attach mywork # type your commands, Ctrl+B D to detach
# Close your laptop — session keeps running on GPU
# Come back later, reconnect
gmux ls # see all sessions with live screen previews
gmux ls -n # just names + timestamps
gmux peek mywork # quick look without attaching
gmux attach mywork # jump back in
# Done with the session
gmux rm mywork # kills on GPU + removes from local log
Session log
All sessions are logged to ~/.tmux-sessions/sessions.log with timestamps — so you never forget a session name even after closing your terminal.
Requirements
- SSH access to a remote machine with
tmuxinstalled GMUX_HOSTenv var set touser@host
Metadata
Release files for gmuxkit 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gmuxkit-0.3.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gmuxkit-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / gmuxkit-0.3.0.tar.gz
| Download URL | gmuxkit-0.3.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36c834934ea8e835288f40b8f1f43835cd342eb6694fcd663c324d224feac1d9
|
|
BLAKE2b-256 checksum How to use checksums |
a2696123debfc0185d6faf317449718db46a0839a2b5fc2c4484b88d74e6ea1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / gmuxkit-0.3.0-py3-none-any.whl
| Download URL | gmuxkit-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36c85177028c6a046c28dedbbca7b0bf67908d229f4e5a35c91563ce390fca81
|
|
BLAKE2b-256 checksum How to use checksums |
e288d9c887d9946a923e68f65c9d61a5752e808790e3bf0ca3f33dcfb1308361
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|