Avisi cloud logo
Commands

playroom connect

SSH into a playroom (alpha)

Synopsis

Open an interactive SSH session to a playroom.

ALPHA: this command is in active development; flags and behaviour may change between releases.

The playroom's host key is pinned to ~/.ssh/known_hosts first, so the connection verifies the host instead of prompting. Pass -A / --forward-agent to forward your SSH agent into the playroom so you can clone/push over git SSH using your local agent (your private key never leaves your machine); it's off by default so nothing leaks into the sandbox unless you ask. Arguments after -- are passed through to ssh.

Pass - as NAME to connect to the last-used playroom.

acloud playroom connect NAME | - [-- SSH_ARGS...] [flags]

Examples

  # connect to 'my-room' in the demo Playhouse
  acloud playroom connect my-room --playhouse playhouse-demo

  # connect to the last-used playroom
  acloud playroom connect -

  # forward a local port through the playroom
  acloud playroom connect my-room -p playhouse-demo -- -L 8080:localhost:8080

Options

  -f, --force-install   force a fresh login to the Playhouse even if a cached session is still valid
  -A, --forward-agent   forward your SSH agent into the playroom (enables git SSH without storing a key)
  -h, --help            help for connect
      --tunnel          connect through an API-server port-forward instead of the playroom's exposed address (works without Tailscale/NodePort reachability)
      --user string     SSH user to connect as (default "playroom")

Options inherited from parent commands

  -C, --context string                    sets the context
      --debug                             enable debug mode
      --debug-show-authorization-header   prints actual authorization header in debug mode, use with caution!
  -O, --organisation string               sets the organisation
  -p, --playhouse string                  playhouse cluster slug (defaults to last-used; supports <env>/<slug>, etc.)
      --request-timeout duration          request timeout for api calls to the Avisi Cloud API (default 15s)
      --trace                             enable trace mode

SEE ALSO

On this page