Skip to main content
POST
Test an SSH connection to a machine before connecting it

Authorizations

Authorization
string
header
required

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

Body

application/json
host
string
required
Minimum string length: 1
user
string
required
Minimum string length: 1
port
integer
default:22
Required range: 1 <= x <= 65535
auth_method
enum<string>
default:ssh-key
Available options:
ssh-key,
password
ssh_wallet_item_id
string

Wallet node access item holding the SSH key or password.

Pattern: ^itm_[a-z2-7]{26}$
ssh_key_label
string

Label of a stored SSH key; only on deployments that read the built-in wallet.

Response

Connection test result

data
object
meta
object