VPS: disable SSH
Disables SSH-over-WebSocket access for the VPS (the router stops resolving the tunnel). Keeps the subdomain.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
vps_disable_web_urluserStops serving the VPS's public xuda.app URL (keeps the subdomain reserved for re-enable).
vps_enable_sshuserEnables SSH/SFTP-over-WebSocket access for the VPS (idempotent). Returns the connect commands with a token on first enable.
vps_rotate_ssh_tokenuserIssues a fresh one-time SSH/SFTP-over-WebSocket bearer token for the VPS (invalidates any previous one) and returns the ready-to-paste connect commands. The server's own SSH login is still required.
vps_ssh_access_createuserCreates a new named SSH-over-WebSocket developer access, mints a one-time connection token (only its hash is stored), and returns the plaintext token and connect commands once. Optionally sets an expiry.
vps_ssh_access_deleteuserDeletes a named SSH developer access. Its token stops working immediately.
vps_ssh_access_listuserLists every SSH/SFTP-over-WebSocket developer access for a VPS: label, creation date, expiry, active or suspended status, and live online state. Read-only, owner-gated. Never returns the token itself.
36 of 61 in Applications