
A lightweight, all-in-one connection manager — SSH, Serial, SFTP, Telnet and FTP in a single TUI
A lightweight, all-in-one connection manager — SSH, Serial, SFTP, Telnet and FTP in a single TUI
A lightweight, all-in-one connection manager — SSH, serial, telnet, SFTP, and FTP in a single TUI
ctty is a fast, native terminal tool for managing all your connections — SSH hosts, serial devices, telnet endpoints, SFTP file transfers, and FTP sites — without the overhead of Electron apps. Built with Go and featuring an intuitive TUI interface, it brings the convenience of GUI connection managers like Tabby to the terminal, with zero bloat.
Why ctty?
Tabby too heavy? ctty is a single ~5MB binary, no Electron, no browser engine — just pure Go
Need serial + SSH + SFTP + FTP in one tool? Most terminal emulators only do SSH; ctty covers them all
Native telnet client built in — no system telnet binary required (macOS dropped it, Windows and Termux need extras); IAC-aware with conservative negotiation
Want to stay in the terminal? No context switching between apps — everything is keyboard-driven
️ Click on the image to view in full size
Enter or inspect real-time system metrics (uptime, CPU load, memory bar, root disk space) via Quick Peek (v / P) without opening a full shellSpace to multi-select hosts with visual [ ] / [✓] checkboxes, Ctrl+A to select all, p to probe selected hosts, y to copy commands, and x to batch-execute remote snippets in parallel with an aggregated scrollable results modalt), Telnet (T), FTP (F), and Local File Browser (b) directly via hotkeys or [ / ] tabs without leaving your current view#prod in red, #dev in green); press w to open an interactive Tag Drawer with host counts and 1-key filtering (1-9), or use hidden tag to hide sensitive hostsE to open your active SSH configuration directly in $EDITOR / $VISUAL (vim, nano, notepad) with automatic live config reload upon exity) seamlessly across local terminals, remote SSH sessions, and tmux via OSC 52 fallbacka auto-fills the host name#tagso key) with remote browsing, upload/download queue with progress and cancel, transfer bell (\a), search, mkdir/delete, plus headless CLI transfers (put/get/scp + sftp ls/mkdir/rm/rmdir/rename)F key) for hosts without SSH: tagged site inventory, dual-pane local|remote browser, mkdir/delete/rename in both panes, single/dual layout toggle, passwords in the encrypted vault, plus headless CLI transfers (ftp ls/get/put/mkdir/rm/rmdir/rename)b key or ctty browse [path]): navigate, search, sort, mkdir/delete/rename with confirms, file details, open-with-default-app, reveal in file manager~/.config/ctty/credentials.json, 0600 permissions) with native OpenSSH SSH_ASKPASS protocol bridge (zero third-party dependencies, works on macOS, Linux, Windows, and Termux)S key) to configure language, updates, and keybindings~/.ssh/config file (credentials stored separately, never pollutes standard SSH configs)-c flagctty import --from tabbyTab/Shift+Tab focus cyclingTeach Cursor, Claude Code, Codex, and other agents to use ctty (search hosts, run remote commands, list serial/telnet devices) without opening the TUI. This is separate from installing the ctty binary below.
# Preview skills in this repo
npx skills add zsuroy/ctty --list
# Install into the current project (committed under .agents/skills/)
npx skills add zsuroy/ctty -y
# Install globally so every project can use it (recommended)
npx skills add zsuroy/ctty -g -y-y skips prompts. -g installs to your user global skills dir. Default without -g is project-local.
npx skills list # see what is installed
npx skills remove ctty # uninstall
npx skills update ctty # pull the latest SKILL.mdThe skill lives at skills/ctty/ in this repository.
Homebrew (Recommended for macOS):
brew install zsuroy/ctty/cttyUnix/Linux/macOS (One-line install):
curl -sSL https://raw.githubusercontent.com/zsuroy/ctty/master/install/unix.sh | bashTermux (Android):
curl -sSL https://raw.githubusercontent.com/zsuroy/ctty/master/install/unix.sh | bashThe installer auto-detects Termux (via $PREFIX/$TERMUX_VERSION) and installs to $PREFIX/bin without sudo. On Termux it picks the cgo Android build, whose DNS goes through the system resolver (pure-Go builds fail on devices with Private DNS or stub resolvers); releases without Android assets fall back to the Linux build.
Windows (PowerShell):
irm https://raw.githubusercontent.com/zsuroy/ctty/master/install/windows.ps1 | iexAlternative methods:
Linux/macOS:
# Download specific release
wget https://github.com/zsuroy/ctty/releases/latest/download/ctty_Linux_x86_64.tar.gz
# Extract and install
tar -xzf ctty_Linux_x86_64.tar.gz # contains the single "ctty" binary
sudo mv ctty /usr/local/bin/cttyWindows:
# Download and extract
Invoke-WebRequest -Uri "https://github.com/zsuroy/ctty/releases/latest/download/ctty_Windows_x86_64.zip" -OutFile "ctty_Windows_x86_64.zip"
Expand-Archive ctty_Windows_x86_64.zip -DestinationPath C:\tools\
# Add C:\tools to your PATH environment variableFrom source (requires Go 1.23+):
git clone https://github.com/zsuroy/ctty.git
cd ctty
go build -o ctty .
sudo mv ctty /usr/local/bin/Launch ctty without arguments to enter the beautiful TUI interface:
cttyNavigation & Host Actions:
↑/↓ or j/k - Navigate hostsEnter - Connect to selected hostv or P - Quick Peek host health stats (uptime, CPU load, memory %, disk % progress bars)Space - Multi-Select toggle (auto-advances cursor down by 1 row)Ctrl+A - Select all / deselect all visible hostsEsc - Clear multi-selection (when active) or cancel/exit modey - Copy SSH command to clipboard (copies newline-separated commands for all selected hosts when multi-selection is active)x - Remote command snippet execution (runs in parallel across all selected hosts when multi-selection is active)p - Ping hosts to test latency (pings only selected hosts when multi-selection is active)w - Open interactive Tag Filter Drawer (1-9 or Enter to filter, c to clear)c - Clear active tag filterE - Open active SSH configuration file directly in $EDITOR (vim/nano/notepad)[ / ] - Switch to previous / next protocol tab (SSH ⇄ Serial ⇄ Telnet ⇄ FTP ⇄ Local Browser)g / Home - Jump to first rowG / End - Jump to last row1-9 - Quick jump to rowa - Add new host (auto-fills search query if typing)e - Edit selected hostd - Delete selected hostm - Move host to another config file (requires SSH Include directives)i - Show host configuration infof - Setup port forwardingt - Open serial device managerT - Open telnet device managero - Open SFTP file browser for selected hostF - Open FTP site managerb - Open local file browserS - Open Settings & Preferences (Language, Updates, ESC behavior)U - Open self-update modal (when an update is available)H - Toggle hidden hosts visibilityh - Open help screenq - Quit/ - Search/filter hostsReal-time Status Indicators:
Sorting & Filtering:
s - Cycle through all sort modes (Name ➔ Hostname ➔ Tags ➔ Last Login)n - Sort by name (alphabetical)r - Sort by recent (last login time)Tab - Switch focus between search input and table#tagsThe interactive forms will guide you through configuration:
-o format (e.g., -o Compression=yes -o ServerAliveInterval=60)Press t from the main TUI to enter the serial device manager. Available serial ports are auto-detected and listed immediately — no manual setup required for qu
No open issues yet, or sync has not completed.