VPS SSH: command history
Lists the commands run over SSH on this server, read live from the server's own command log. Read-only, owner-gated. Requires the command log to be switched on for the server, and only covers interactive shell sessions.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
vps_ssh_command_log_setuserTurns the in-server command log on or off. When on, every command typed in an interactive SSH session is recorded on the server itself so the owner can review it. Owner-gated and off by default.
vps_disable_sshuserDisables SSH-over-WebSocket access for the VPS (the router stops resolving the tunnel). Keeps the subdomain.
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.
59 of 61 in Applications