Bast
Other

Keyboard shortcuts

Every keybinding in the Bast TUI, from navigation to host and key actions.

Press ? inside Bast for the in-app reference. Press v for version info, credits, and update hints. A first TUI with no hosts is a skippable start chooser; see First launch.

KeyAction
/ or j / kMove selection
Click / tap list rowSelect item (mobile layout)
1Switch to hosts tab
2Switch to keys tab
3Switch to vault tab
4Switch to sync tab
5Switch to files tab
/Search
rReload config from disk (or refresh sync status on the Sync tab; sync now on Vault)
?Toggle help
vAbout and version info (o replays first-launch chooser, s opens https://bast.sh/sponsor)
DDoctor (not in Files; Files uses D to disconnect)
qQuit

Hosts

KeyAction
EnterConnect to selected host, or add selected history suggestion
Click / tap ConnectConnect on narrow terminals (mobile layout)
aAdd a host
eEdit selected host, or review selected history suggestion
mMove selected local host to a group
xDismiss selected history suggestion
dDelete selected host
pPromote an external host into Bast-managed config
fToggle favorite
FOpen Files for the selected host
hHide or show selected host
.Toggle hidden hosts and stopped cloud VMs
SpaceCollapse or expand group, including Suggested
sCycle sort mode, or sync the selected provider group
nNew VM on a provider group that supports create (Box, Upstash, Vercel)
oPause/stop a running sandbox or Hetzner host
rResume a paused sandbox, or start a powered-off Hetzner server (reload config otherwise)
RRestart a running Hetzner Cloud server
KRemove known-host entry

Keys

KeyAction
gGenerate a key
iImport a key
eEdit public key comment
dDelete selected key
aAdd public key to a server
xExport key files
pPromote an external key, or change passphrase on a managed key
cCopy public key

Vault

KeyAction
EnterRun the selected action (link, unlock, sync, and so on)
Click / tapSelect a menu item; click again to run. The Link / Unlock / Sync chip runs immediately
rSync now when the vault is unlocked

See Vault.

Sync

KeyAction
h / j / k / l or arrowsMove across the provider grid
EnterOpen a provider, run the selected action, or connect the selected VM
Click / tapSelect a tile, action, or host; click again to open or run. Status group headers toggle on click
SpaceCollapse or expand a status group on a provider page
sSync the focused provider without opening it
EscBack to the provider grid
rRefresh sync status

See GCP / AWS / Azure / box.ascii.dev / Upstash Box / Vercel Sandbox / Hetzner Cloud for cloud host import.

Files

KeyAction
TabSwitch pane
wSwap panes
L / RMake focused pane local / remote
h / lParent / enter directory
EnterEnter directory, preview a file, or connect the selected host
j / kMove
g / GTop / bottom
fFuzzy jump
/Path jump (or host search on a remote picker)
SpaceToggle mark
vStart or finish range mark
c / mCopy / move to the other pane
dDelete (with confirmation)
aCreate directory
rRename
iFile info
oPreview file
pPermissions (chmod)
tOpen a shell in the current directory
.Toggle hidden files
DDisconnect remote
EscClear marks, else disconnect, else return to Hosts
Esc / xCancel transfer or connect

Click a pane to focus it, a row to select it, and the same row again to enter or connect. Scroll wheel moves the pane under the pointer.

See Files for transfer and auth notes.

During SSH

ActionResult
exitClose SSH session and quit Bast
Enter then ~.Force-close a stuck SSH session and return to the picker

On this page