Skip to content

kexsh terminal

Manage terminal instances — the core resource in kexsh.

Terminal window
kexsh terminal <command> [options]

Create a new terminal instance and attach to it.

Terminal window
kexsh terminal create [--name <name>]

A short ID is auto-assigned (e.g. a3f). If --name is provided, the terminal can be referenced by either ID or name.

Terminal window
$ kexsh terminal create --name dev
Terminal created: dev (a3f)

The server starts automatically if not already running. A temporary view is created and you’re dropped into the terminal immediately.

List all terminal instances.

Terminal window
kexsh terminal ls
ID NAME STATUS CREATED
a3f dev running 5 minutes ago
b7c — running 2 minutes ago

Attach to an existing terminal.

Terminal window
kexsh terminal attach <id|name>
Terminal window
$ kexsh terminal attach dev
# or
$ kexsh terminal attach a3f

Destroy a terminal instance and its process.

Terminal window
kexsh terminal kill <id|name>

Sync a terminal to kexsh cloud. Requires authentication (kexsh login).

Terminal window
kexsh terminal sync <id|name>

Once synced, the terminal is accessible from the web dashboard and other devices. See Terminal Sync for details.

Stop syncing a terminal to the cloud.

Terminal window
kexsh terminal unsync <id|name>

The terminal continues running locally but is no longer accessible remotely.