t8y2

motty

t8y2

motty is a desktop SSH client written in Go that keeps the terminal, SFTP, port forwarding, VNC/RDP desktops and an AI assistant in one native window, running on macOS, Windows and Linux.

v0.4.64
Published at
10h ago
3.4k
Stars
4.6k
Download

Latest release

v0.4.64Dec 5, 2026, 04:49 PM
Downloads slow? Switch the source anytime above

README

Project Overview

motty is what you get if PuTTY, WinSCP and VNC Viewer shared one window, except the whole interface is drawn by Go straight onto Metal, Direct3D and Vulkan, with no Electron, no embedded browser and no JavaScript layer. Every tab is a real PTY session, and the file panel, forwarding rules and remote desktops hang off that same connection, so a session never needs a second program. It ships under Apache-2.0 and the bulk of the repository is Go.

Item Value
Platform macOS, Windows, Linux
Stack Go 1.26+, the Viva drawing framework
Packages .dmg / .zip, .exe / portable .zip, .deb / .tar.gz
License Apache-2.0
Rendering No webview; an idle window does not repaint

A shell, its files and its screen in one window, with tunnels that die with their tab.

Key Features

  • Terminal: real PTY sessions, 256-colour and true-colour output, the alternate screen, 5,000 lines of scrollback, mouse reporting, atomic full-screen redraws via DECSET 2026, and the kitty keyboard protocol for press and release
  • SFTP panel: multi-select, recursive upload and download, copy between local and remote, a bounded transfer queue, resume, rename, permissions and bookmarks
  • Native editor: opens UTF-8 files up to 1 MiB, hashes the remote file before and after staging, keeps permissions, and falls back to built-in SCP where SFTP is missing
  • Four tunnel types: local, remote, SOCKS5 and HTTP CONNECT, loopback-bound by default, started explicitly, and stopped together with the SSH tab that owns them
  • Remote desktops: VNC speaks RFB 3.3/3.7/3.8 with Hextile and ZRLE; RDP uses TLS with NLA preferred and can ride an SSH host to reach a loopback-only service
  • Host management: groups, tags, colours and icons, importable from OpenSSH config, PuTTY, MobaXterm, Xshell, SecureCRT and more than ten other formats
  • Resource monitor: split the pane and read that host's CPU, memory, disk and network beside the shell using them
  • AI assistant: Ask answers from the visible terminal, Agent may run commands but must clear risk classification and an approval gate
  • MCP server: optional, off by default, loopback-only and bearer-token protected; motty mcp-serve exposes the same tools over stdio

Keyboard and Command Palette

  • Palette: Command+Shift+P on macOS and Control+Shift+P elsewhere; tabs, splits, SFTP, forwarding and the assistant are all commands in it
  • Default shortcuts: every one of them is rebindable in Settings
Action macOS Windows / Linux
Find in terminal Command+F Control+F
Command history Command+Shift+H Control+Shift+H
File panel Command+Shift+S Control+Shift+S
New window Command+Shift+N Control+Shift+N
  • Command line entry: motty --dir "my project" opens a local terminal there, --local-shell=powershell picks the shell, and --reuse-window reuses the most recent window
  • Mosh handover: an SSH host can carry its terminal over Mosh, surviving Wi-Fi, hotspot and VPN changes while drawing slow-link typing before the echo

Security and Data

  • Host keys first: fingerprints are checked against Motty's own known_hosts before credentials leave; a host whose CA is on file as @cert-authority connects without a prompt
  • Vault: saved passwords and key passphrases go into an AES-256-GCM vault whose key lives in the system secret store, or in a key file beside the vault where no such store exists
  • Hardware keys: sk-ssh-ed25519 and sk-ecdsa-sha2-nistp256 authenticate through the OpenSSH agent and ssh-sk-helper, with the PIN prompt shown in the window
  • Backup and sync: encrypted .mottybak export, plus record-level sync over WebDAV, S3, a GitHub Gist or a Gitee snippet with hybrid logical clocks and 90-day deletion tombstones
  • No phoning home: no analytics, and the update check is off by default and only asks GitHub Releases when enabled

Quick Start

  1. Download the package for your platform from Releases, or run brew install --cask motty on macOS
  2. Open Hosts and choose New host, then fill in name, address and account
  3. Pick authentication: the running agent, a private-key file or a password
  4. Compare the host-key fingerprint after connecting, then trust it once or save it
  5. The login shell opens in a tab; a server asking for a one-time code gets an extra field automatically
  6. Press Command+Shift+S (Control+Shift+S on Windows and Linux) to open the file panel, and split the pane to watch the resource monitor

System Requirements

Item Requirement
OS macOS, Windows, Linux
Architecture macOS arm64/amd64, Windows amd64/arm64, Linux amd64/arm64
Windows version Windows 8 / Server 2012 or later; the local terminal needs Windows 10 1809
Building Go 1.26+ with Viva checked out beside the repo as ../viva
Optional OpenSSH ssh-sk-helper for hardware security keys

Notes

  • The approval gate is not a sandbox: Agent mode classifies command risk, so do not point it at a host where one wrong command is unrecoverable
  • Remote desktops have documented gaps: what VNC and RDP do not do is listed in docs/remote-desktop.md; read it before pointing them at production
  • Sudo covers files only: turning it on moves the current file browser and its transfers to a privileged SFTP server while the terminal stays unprivileged, and Windows or SCP-only servers cannot use it
  • Linux packages are unsigned: neither the .deb nor the .tar.gz is signed, and AUR plus .AppImage are not available
  • Portable data follows the exe: a Windows portable zip keeps its data in motty-data next to motty.exe, so moving the folder moves the configuration

Release history

Sort