Bast

Introduction

What Bast is, how it fits into your SSH workflow, and what you can do with it.

Bast is a terminal app for browsing SSH hosts, managing keys, transferring files, and connecting fast. Run bast and you get a full-screen interface with hosts, keys, Files, and optional cloud sync. Pick a server, press Enter, and Bast hands off to your system ssh binary.

No custom protocol and no hidden database. Bast reads the SSH configuration you already have, adds presentation metadata on top (groups, tags, favorites, notes), can import cloud VMs as read-only hosts, and keeps OpenSSH as the source of truth.

The Bast host picker with hosts and keys tabs
The Bast host picker with hosts and keys tabs

What you can do

  • Browse and search every host in your SSH config, including Include files
  • Add, edit, favorite, and hide hosts with groups, tags, colors, and notes
  • Sync hosts from GCP, AWS, Azure, and box.ascii.dev
  • Sync Bast-managed hosts and keys between machines with Vault (end-to-end encrypted)
  • Browse and transfer files over SFTP in a dual-pane Files tab
  • Generate, import, export, and install SSH keys from the same interface
  • Connect with one keypress, or jump straight in from the shell with bast <label>
  • Use Bast from a phone or narrow terminal: the TUI switches to a mobile layout below 60 columns
  • Automate everything through the CLI with optional JSON output

Requirements

  • macOS or Linux
  • OpenSSH: ssh, ssh-keygen, ssh-add
  • A Nerd Font is recommended for some glyphs, but Bast works without one

Quick start

Install Bast first: Installation.

CommandWhat it does
bastOpen the host picker
bast updateUpdate Bast when installed via the bast.sh script
bast <label>Connect directly to a host label
bast "Production web"Labels with spaces work
bast hosts listList hosts without opening the TUI
bast keys listList SSH keys without opening the TUI
bast sync gcpImport GCP VMs into Bast
bast sync awsImport Amazon EC2 instances into Bast
bast sync azureImport Azure Linux VMs into Bast
bast sync boxImport box.ascii.dev hosts into Bast
bast vault loginLink this machine to encrypted Bast Vault

Press ? inside the TUI for the full keyboard reference.

AI agents

Using Bast with Cursor, Claude Code, or Codex? Install the agent skill with npx skills add ellipse-software/bast -g -y, or point your agent at llms.txt.

On this page