> ## Documentation Index
> Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aptible ssh

This command creates [Ephemeral SSH Sessions](/docs/core-concepts/apps/connecting-to-apps/ssh-sessions) to [Apps](/docs/core-concepts/apps/overview) running on Aptible.

# Synopsis

```
Usage:
  aptible ssh [COMMAND] [flags]

Flags:
      --app string           App handle (required)
  -e, --env string           Environment handle (alias)
      --environment string   Environment handle
      --force-tty            Force TTY allocation
```

# Examples

```shell theme={null}
aptible ssh --app "$APP_HANDLE"
```
