sshyard

command module
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: AGPL-3.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

English · 简体中文 · 繁體中文 · 한국어 · 日本語

SSHYard logo

SSHYard

SSHYard is a native desktop SSH / SFTP client for macOS, Windows and Linux, bringing terminals, file management and AI assistance into one app.

Screenshots

Terminal and AI assistant
Terminal and AI assistant
SFTP file manager
SFTP file manager
System monitor
System monitor
AI assistant settings
AI assistant settings

Features

  • Terminal

    • Tabs, split panes and terminal search
    • True colour, wide characters, input methods and mouse support for tmux, vim and htop
    • Shared connections across panes on the same host, with automatic reconnection
  • File management

    • SFTP alongside the terminal, with directory following and a built-in editor
    • Drag-and-drop support and folder transfers
    • Transfer queue with pause, resume and retry
  • AI assistant

    • Run commands and edit files through a dedicated assistant for each host
    • Connect AI providers, or use ACP agents detected on this computer (Claude Code, Codex, Grok, Gemini CLI and more), several at once, each with the models and thinking levels it offers; their work stays on the remote host
    • Choose Ask, Review or Full access mode, with configurable AI review
  • Agent integrations

    • Connect local AI agents through the open API, MCP and Skill
    • Browse hosts, establish connections and run commands without exposing saved credentials
    • One-click Skill setup for Claude Code and Codex; agent access is off by default
  • Hosts and credentials

    • Import from SSH config or connect quickly with user@host:port
    • Passwords, OpenSSH / PEM / PuTTY keys and SSH agent support
    • Local encrypted credential storage, key generation and public-key installation
  • Backup and restore

    • Password-encrypted backups of hosts, credentials, snippets and settings, with restore on another device
    • Save locally or to WebDAV, S3-compatible storage and private GitHub Gists
    • Manual or scheduled backups, with configurable retention
  • Networking

    • Multi-hop jump hosts and HTTP / SOCKS5 proxies
    • Local, remote and dynamic port forwarding
  • Everyday use

    • Server metrics at a glance
    • Light and dark themes, with English, Simplified Chinese, Traditional Chinese, Korean and Japanese

Development

Built with mygo. Requires Go 1.27.3 (GOTOOLCHAIN can download it). No cgo is needed.

# run
go run .

# run the development app; on macOS prefer an "Apple Development" identity
# stable signing can reduce keychain prompts; self-signing does not guarantee
# access across rebuilds, and macOS may still request authorization
scripts/run-dev-app.sh

# keep data in a separate directory
SSHYARD_DATA_DIR=/tmp/demo go run .

# a local SSH server for testing (macOS / Linux)
go run ./cmd/devsshd -addr 127.0.0.1:2222 -user demo -password demo -root /tmp/remote

# a local HTTP / SOCKS proxy for testing
go run ./cmd/devproxy -addr 127.0.0.1:3128

# tests and checks
go test -race -count=1 ./...
go vet ./...
gofmt -l .

# regenerate the locale catalog after editing locales/*.json
GOFLAGS=-mod=mod go run github.com/egoist/mygo/cmd/mygo generate

# package into dist/
go tool mygo build -platform linux/amd64,linux/arm64,windows/amd64,windows/arm64,darwin/arm64,darwin/amd64 -o dist

To try it against devsshd, add a host 127.0.0.1, port 2222, user demo, password demo.

Contributor rules are in AGENTS.md.

Community Support

License

SSHYard is licensed under the GNU Affero General Public License v3.0.

Documentation

Overview

SSHYard is a cross-platform SSH client with a native interface: hosts, tabs and split panes of terminals drawn by its own VT engine, and SFTP.

Directories

Path Synopsis
cmd
devproxy command
Command devproxy is a development proxy on loopback, speaking HTTP CONNECT, SOCKS4/4a and SOCKS5 on one port, for trying SSHYard's proxy support where no proxy is installed.
Command devproxy is a development proxy on loopback, speaking HTTP CONNECT, SOCKS4/4a and SOCKS5 on one port, for trying SSHYard's proxy support where no proxy is installed.
devsshd command
Command devsshd is a development SSH server on loopback that runs a real shell in a PTY, with SFTP, for trying SSHYard where no sshd is installed.
Command devsshd is a development SSH server on loopback that runs a real shell in a PTY, with SFTP, for trying SSHYard where no sshd is installed.
Package icon provides the artwork used by the application icon.
Package icon provides the artwork used by the application icon.
internal
ai/acp
Package acp is SSHYard's client for one external local agent process speaking the Agent Client Protocol (github.com/coder/acp-go-sdk).
Package acp is SSHYard's client for one external local agent process speaking the Agent Client Protocol (github.com/coder/acp-go-sdk).
ai/acp/detect
Package detect finds ACP agents installed on this computer, so the user picks one instead of typing a command line.
Package detect finds ACP agents installed on this computer, so the user picks one instead of typing a command line.
ai/acp/internal/fakeagent command
Command fakeagent is a scripted ACP agent for tests.
Command fakeagent is a scripted ACP agent for tests.
ai/agent
Package agent is SSHYard's built-in assistant: one host, one tool loop, every call checked by a policy.Gate.
Package agent is SSHYard's built-in assistant: one host, one tool loop, every call checked by a policy.Gate.
ai/audit
Package audit is the local JSONL log of AI actions.
Package audit is the local JSONL log of AI actions.
ai/history
Package history keeps the AI conversations of each host, to look back on and carry on.
Package history keeps the AI conversations of each host, to look back on and carry on.
ai/llm
Package llm is the model client: one streaming completion against the configured base URL, with function tools, in one of three wire formats (OpenAI Chat Completions, OpenAI Responses and Anthropic Messages), and one decision from a decision model (OpenAI Decisions, TypeSafe Jev).
Package llm is the model client: one streaming completion against the configured base URL, with function tools, in one of three wire formats (OpenAI Chat Completions, OpenAI Responses and Anthropic Messages), and one decision from a decision model (OpenAI Decisions, TypeSafe Jev).
ai/policy
Package policy grades what an AI agent wants to do by risk and decides, under the session's permission mode, whether SSHYard runs it, asks the user, or asks the review model.
Package policy grades what an AI agent wants to do by risk and decides, under the session's permission mode, whether SSHYard runs it, asks the user, or asks the review model.
ai/remote
Package remote runs an AI command on a host's existing SSH connection.
Package remote runs an AI command on a host's existing SSH connection.
aibrands
Package aibrands embeds LobeHub's original AI brand artwork, without tinting.
Package aibrands embeds LobeHub's original AI brand artwork, without tinting.
app
Package app is SSHYard's interface: the host sidebar, the tabs and split panes (native terminals and files browsers alike) and the settings, built with MyGo's immediate-mode ui package.
Package app is SSHYard's interface: the host sidebar, the tabs and split panes (native terminals and files browsers alike) and the settings, built with MyGo's immediate-mode ui package.
assets
Package assets is SSHYard's asset store: the hosts the user saved, with their groups and favorites, and the credentials, proxies and port forwards they use, kept as JSON in the user's data directory.
Package assets is SSHYard's asset store: the hosts the user saved, with their groups and favorites, and the credentials, proxies and port forwards they use, kept as JSON in the user's data directory.
backup
Package backup is what SSHYard's backups are made of and where they are kept: the archive a backup seals (package vault does the sealing), the names of sealed files, and the places that keep them, a folder on a WebDAV server (package webdav), an S3 bucket (package s3) or a GitHub gist (package gist).
Package backup is what SSHYard's backups are made of and where they are kept: the archive a backup seals (package vault does the sealing), the names of sealed files, and the places that keep them, a folder on a WebDAV server (package webdav), an S3 bucket (package s3) or a GitHub gist (package gist).
backup/gist
Package gist keeps backups in a secret GitHub gist, reached with a personal access token: each backup is a file of its own, named by backup.Name, in the one gist whose description is Description.
Package gist keeps backups in a secret GitHub gist, reached with a personal access token: each backup is a file of its own, named by backup.Name, in the one gist whose description is Description.
backup/s3
Package s3 keeps backups in a bucket of Amazon S3 or of a service that speaks its API (Cloudflare R2, MinIO, Alibaba Cloud OSS, Tencent Cloud COS and others), signing each request with AWS Signature Version 4.
Package s3 keeps backups in a bucket of Amazon S3 or of a service that speaks its API (Cloudflare R2, MinIO, Alibaba Cloud OSS, Tencent Cloud COS and others), signing each request with AWS Signature Version 4.
backup/webdav
Package webdav keeps backups in a folder on a WebDAV server, through gowebdav.
Package webdav keeps backups in a folder on a WebDAV server, through gowebdav.
fileicons
Curated basename associations for the bundled upstream artwork.
Curated basename associations for the bundled upstream artwork.
fonts
Package fonts lists the font families installed on the machine, for the interface's and the terminal's font settings.
Package fonts lists the font families installed on the machine, for the interface's and the terminal's font settings.
forward
Package forward runs port forwards over SSH: local (ssh -L), remote (ssh -R) and dynamic (ssh -D, a local HTTP/SOCKS proxy whose targets are dialed, and their names resolved, on the server).
Package forward runs port forwards over SSH: local (ssh -L), remote (ssh -R) and dynamic (ssh -D, a local HTTP/SOCKS proxy whose targets are dialed, and their names resolved, on the server).
gtkfix
Package gtkfix trims the room MyGo's window buttons take on Linux.
Package gtkfix trims the room MyGo's window buttons take on Linux.
highlight
Package highlight colors keywords in a terminal's output: words such as errors and warnings, addresses, links and times, by built-in rules (Presets) and the user's own (Rule).
Package highlight colors keywords in a terminal's output: words such as errors and warnings, addresses, links and times, by built-in rules (Presets) and the user's own (Rule).
icons
Package icons is SSHYard's icon set: SVGs from Remix Icon (https://remixicon.com, github.com/Remix-Design/RemixIcon, v4.8.0, Apache License 2.0; see LICENSE and NOTICE in this directory), embedded in the binary and drawn natively by MyGo's ui (ui.Icon), in the color of the text around them.
Package icons is SSHYard's icon set: SVGs from Remix Icon (https://remixicon.com, github.com/Remix-Design/RemixIcon, v4.8.0, Apache License 2.0; see LICENSE and NOTICE in this directory), embedded in the binary and drawn natively by MyGo's ui (ui.Icon), in the color of the text around them.
keychain
Package keychain stores business secrets in a local encrypted file, with only its random master key in the operating system keychain.
Package keychain stores business secrets in a local encrypted file, with only its random master key in the operating system keychain.
keymap
Package keymap is a keyboard shortcut as SSHYard's settings keep it: its modifiers and key, written "super+shift+p".
Package keymap is a keyboard shortcut as SSHYard's settings keep it: its modifiers and key, written "super+shift+p".
keys
Package keys reads the private keys a credential can hold: OpenSSH and PEM keys, and PuTTY's .ppk (versions 2 and 3, encrypted or not), which it converts to OpenSSH.
Package keys reads the private keys a credential can hold: OpenSSH and PEM keys, and PuTTY's .ppk (versions 2 and 3, encrypted or not), which it converts to OpenSSH.
layout
Package layout keeps SSHYard's workspace: tabs, each a tree of split panes, each pane showing one item.
Package layout keeps SSHYard's workspace: tabs, each a tree of split panes, each pane showing one item.
localkeys
Package localkeys finds the SSH keys of this computer that a host asking for its password offers first: the IdentityFiles ~/.ssh/config names for it, else the default key files.
Package localkeys finds the SSH keys of this computer that a host asking for its password offers first: the IdentityFiles ~/.ssh/config names for it, else the default key files.
mask
Package mask hides IP addresses in what the app shows while privacy mode is on, as for a screen share or a recording: "12.32.43.55" is "1*.**.**.*5".
Package mask hides IP addresses in what the app shows while privacy mode is on, as for a screen share or a recording: "12.32.43.55" is "1*.**.**.*5".
mcp
Package mcp serves tools to AI agents on this computer only, three ways: the Model Context Protocol's Streamable HTTP transport at Path (JSON only, no event stream and no sessions: initialize, ping, tools/list and tools/call), the same tools as a plain HTTP API under APIPath, and a skill telling an agent how to use that API at SkillPath.
Package mcp serves tools to AI agents on this computer only, three ways: the Model Context Protocol's Streamable HTTP transport at Path (JSON only, no event stream and no sessions: initialize, ping, tools/list and tools/call), the same tools as a plain HTTP API under APIPath, and a skill telling an agent how to use that API at SkillPath.
migration
Package migration reads third-party session exports without modifying them.
Package migration reads third-party session exports without modifying them.
netproxy
Package netproxy is SSHYard's proxies, both ways: dialing out through an HTTP CONNECT or SOCKS5 proxy (the first hop to a host), and serving HTTP (CONNECT and plain absolute-URI requests), SOCKS4, SOCKS4a and SOCKS5 on a local port (a dynamic -D forward).
Package netproxy is SSHYard's proxies, both ways: dialing out through an HTTP CONNECT or SOCKS5 proxy (the first hop to a host), and serving HTTP (CONNECT and plain absolute-URI requests), SOCKS4, SOCKS4a and SOCKS5 on a local port (a dynamic -D forward).
scpfs
Package scpfs gives SFTP to a server that has none.
Package scpfs gives SFTP to a server that has none.
serial
Package serial opens local serial ports as terminal byte streams.
Package serial opens local serial ports as terminal byte streams.
session
Package session is SSHYard's SSH sessions: it dials with golang.org/x/crypto/ssh, authenticates by password, private key or the SSH agent, checks the host key against known_hosts, opens a shell on a PTY that feeds a vt.Terminal, keeps the connection alive and reconnects it.
Package session is SSHYard's SSH sessions: it dials with golang.org/x/crypto/ssh, authenticates by password, private key or the SSH agent, checks the host key against known_hosts, opens a shell on a PTY that feeds a vt.Terminal, keeps the connection alive and reconnects it.
settings
Package settings keeps SSHYard's preferences in a JSON file.
Package settings keeps SSHYard's preferences in a JSON file.
sftpsvc
Package sftpsvc is SSHYard's file transfer service over SFTP (github.com/pkg/sftp): it lists remote and local directories and uploads or downloads a single file at a time, reporting progress.
Package sftpsvc is SSHYard's file transfer service over SFTP (github.com/pkg/sftp): it lists remote and local directories and uploads or downloads a single file at a time, reporting progress.
sshconfig
Package sshconfig reads OpenSSH client configuration (~/.ssh/config) for import and for the keys a host offers: the Host blocks, with the directives SSHYard keeps (HostName, User, Port, IdentityFile, IdentitiesOnly, ProxyJump), Include, and the defaults of pattern blocks such as Host *.
Package sshconfig reads OpenSSH client configuration (~/.ssh/config) for import and for the keys a host offers: the Host blocks, with the directives SSHYard keeps (HostName, User, Port, IdentityFile, IdentitiesOnly, ProxyJump), Include, and the defaults of pattern blocks such as Host *.
sshtest
Package sshtest is an SSH server in process, for SSHYard's tests and its development server (cmd/devsshd): password and public-key auth (one key, or an authorized_keys file checked as OpenSSH's StrictModes does), a PTY shell (a toy line shell, or a real one through Shell), keepalive replies, the sftp subsystem of github.com/pkg/sftp, exec requests, and TCP forwarding both ways (direct-tcpip channels, tcpip-forward requests).
Package sshtest is an SSH server in process, for SSHYard's tests and its development server (cmd/devsshd): password and public-key auth (one key, or an authorized_keys file checked as OpenSSH's StrictModes does), a PTY shell (a toy line shell, or a real one through Shell), keepalive replies, the sftp subsystem of github.com/pkg/sftp, exec requests, and TCP forwarding both ways (direct-tcpip channels, tcpip-forward requests).
telnet
Package telnet is SSHYard's Telnet client (RFC 854/855) over any byte stream.
Package telnet is SSHYard's Telnet client (RFC 854/855) over any byte stream.
theme
Package theme holds SSHYard's design tokens: the brand color, the light and dark palettes of the interface and of the terminal, and how a mode (auto, light, dark) chooses between them.
Package theme holds SSHYard's design tokens: the brand color, the light and dark palettes of the interface and of the terminal, and how a mode (auto, light, dark) chooses between them.
updater
Package updater is SSHYard's update client.
Package updater is SSHYard's update client.
vault
Package vault seals data with a password, for the backups that take SSHYard's data, secrets included, out of the keychain: the data is encrypted under a random vault key (XChaCha20-Poly1305), and the vault key is wrapped under a key derived from the password (Argon2id).
Package vault seals data with a password, for the backups that take SSHYard's data, secrets included, out of the keychain: the data is encrypted under a random vault key (XChaCha20-Poly1305), and the vault key is wrapped under a key derived from the password (Argon2id).
vt
Package vt is SSHYard's terminal emulator: a parser of the escape sequences a VT100/xterm-compatible terminal understands and the grid of cells they draw on, with scrollback, the alternate screen, 256 colors and truecolor.
Package vt is SSHYard's terminal emulator: a parser of the escape sequences a VT100/xterm-compatible terminal understands and the grid of cells they draw on, with scrollback, the alternate screen, 256 colors and truecolor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL