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/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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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). |
|
session
Package session is SSHYard's SSH sessions: it dials with golang.org/x/crypto/ssh, authenticates by password or private key, 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 or private key, 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: the Host blocks, with the directives SSHYard keeps (HostName, User, Port, IdentityFile, ProxyJump), Include, and the defaults of pattern blocks such as Host *.
|
Package sshconfig reads OpenSSH client configuration (~/.ssh/config) for import: the Host blocks, with the directives SSHYard keeps (HostName, User, Port, IdentityFile, 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). |
|
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. |
Click to show internal directories.
Click to hide internal directories.



