Skip to main content
Configures SSH access to Baseten workloads: training jobs and model replicas. For training usage, see SSH access. For models, enable runtime.remote_ssh in your Truss config.

Subcommands

setup

Configures OpenSSH on your machine to authenticate with Baseten and connect to workloads. Run this once per machine.
Generates an SSH keypair, installs a ProxyCommand script, and adds a wildcard Host entry to ~/.ssh/config. After running this once, connect to any running workload:

Options

TEXT
Path to a Python 3.10+ interpreter for the ProxyCommand. Auto-detected if omitted. Use this if you see TLS errors with the default Python.
TEXT
Default remote to use when the hostname doesn’t specify one and ~/.trussrc has multiple remotes. If you have a single remote, Baseten uses it automatically.
humanfriendly | W | WARNING | I | INFO | D | DEBUG
default:"humanfriendly"
Logging verbosity. humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.

Examples

Run one-time setup:
If you see TLS errors, specify a newer Python:
Set a default remote when multiple are configured: