CorefinityCorefinityDocs
Open the Control PanelControl Panel
SSH access · 2 of 22

corestack_ssh_user_create

Create an SSH user.

Scope writeAlso exec to reveal secretsRuns as a taskCan return a secretCoreCluster
On this page

When to use it

Create a named SSH or SFTP user on the environment, optionally confined to a root path, with a password set, generated or none (keys can be added with corestack_ssh_user_key_add). The change applies in the background.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_ssh_user_create with site_id 4211, username deploy, type ssh. (Create an SSH user.) Tell me what it returned.

Inputs

labelstring

Up to 255 characters.

passwordstring

Defaults to none.

generatesetnone
password_valuestring

With password set. Up to 256 characters.

reveal_to_agentboolean

Return the secret to you instead of opening it in the person's browser. Needs exec. Defaults to false.

root_pathstring

Up to 255 characters.

site_idintegerRequired

At least 1.

typestringRequired
sshsftp
usernamestringRequired

Up to 64 characters.

Example call

tools/call
{
  "name": "corestack_ssh_user_create",
  "arguments": {
    "site_id": 4211,
    "username": "deploy",
    "type": "ssh"
  }
}

If it is refused

ReasonWhat to do
tenant_mismatchAlso answers a purged site: its SSH access ended with it, and its port may already be another site's.
managed_elsewhereAnother control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
invalid_argumentsThe arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT