# Terminal shell

For: Developers

A shell in a running replica, from your terminal.

## The problem

Inspecting a running app should not need SSH keys or open ports.

## How it works

1. Ask for a shell ticket. ([Open a shell](https://docs.dispralabs.com/api/open-a-shell.md))
2. Connect to it over a WebSocket from your terminal or tool. ([shell.session](https://docs.dispralabs.com/flows/shell-session.md))

## Requirements

- A key with full access, or a developer role

## Limits

- Idle shells close after 10 minutes; any shell after an hour

## Flows

- [shell.session](https://docs.dispralabs.com/flows/shell-session.md)

## API

- `POST` [Open a shell](https://docs.dispralabs.com/api/open-a-shell.md)
