मुख्य सामग्री पर जाएं
POST
Test an SSH connection to a machine before connecting it

प्राधिकरण

Authorization
string
header
आवश्यक

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

बॉडी

application/json
host
string
आवश्यक
Minimum string length: 1
user
string
आवश्यक
Minimum string length: 1
port
integer
डिफ़ॉल्ट:22
आवश्यक सीमा: 1 <= x <= 65535
auth_method
enum<string>
डिफ़ॉल्ट:ssh-key
उपलब्ध विकल्प:
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.

प्रतिक्रिया

Connection test result

data
object
meta
object