Overview

The SSH Connections API stores SSH connection metadata and lets you test, connect, disconnect, and execute commands on remote hosts. Credentials are stored encrypted in the database and decrypted only at execution time.

Base URL

All endpoints require a valid Bearer token in the Authorization header. See Authentication for details.

Endpoints

Create connection

Request body:
Allowed auth_type values: password, private_key. Response:

List connections

Response:

Execute command

Request body:
Response:

Test reachability

Response:

Error codes