Skip to content

ssh

Open an SSH session to a running container

Open an interactive SSH session to a running service container.

If no service path is provided, the linked context from .ancla/config.yaml is used (set via ‘ancla link’). Otherwise, specify the full service path as ws/proj/env/svc.

The command requests ephemeral connection credentials from the Ancla API and launches an SSH session to the container running the specified process type.

ancla ssh [ws/proj/env/svc] [flags]
ancla ssh my-ws/my-proj/staging/my-svc
ancla ssh --process worker
ancla ssh my-ws/my-proj/staging/my-svc --process worker
-h, --help help for ssh
--process string Process type to connect to (default "web")
--api-key string API key for authentication
--config string config file (default: ~/.ancla/config.yaml)
--json Shorthand for --output json
-o, --output string Output format: table or json (default "table")
-q, --quiet Suppress non-essential output
  • ancla - Ancla CLI — manage your Ancla PaaS deployments