الانتقال إلى المحتوى الرئيسي
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