MCP tool · FTP & SSH access
set_ssh_access
Enable or disable SSH (shell) access for a whole hosting account.
set_ssh_access
DestructiveIdempotent
Description
Enable or disable SSH (shell) access for a whole hosting account. Turning shell access on widens the account’s attack surface, so it does not change anything on this call: it returns {status:"confirmation_required", confirmationUrl, …}. Show the human the confirmationUrl to approve in the client area; do not approve it yourself. Then poll get_pending_action.
Input
| Name | Type | Description |
|---|---|---|
input
required
|
string |
A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
|
enabled
required
|
boolean |
true to enable SSH (shell) access for the account, false to disable it.
|
attempt_key
|
string | An idempotency key you choose. Reusing it within an hour returns the same held change. |