# kosa8 cloud terminal

Open an interactive terminal (a PTY) in a cloud sandbox

## Usage

```
kosa8 cloud terminal ID [-- COMMAND [ARG...]]
```

Connects this terminal to a login shell in the sandbox (or to COMMAND), like
ssh. A sleeping sandbox wakes first. Exit the shell (or press Ctrl-D) to leave;
kosa8 exits with the shell's exit code. --url prints the short-lived wss:// URL
for another WebSocket client instead (binary messages are keys and output; text
messages are JSON: {"type":"resize","cols","rows"} in, {"type":"exit","code"} out).

Also known as: `shell`, `ssh`

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--url` | bool | print the terminal's wss:// URL instead of connecting |  |

## Example

```
  kosa8 cloud terminal sbx_abc
  kosa8 cloud terminal sbx_abc -- python3
```

---
Source: https://docs.kosa8.com/reference/cloud-terminal/
