corestack_ ssh_ user_ create
Create an SSH user.
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
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.
generatesetnonepassword_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
sshsftpusernamestringRequired
Up to 64 characters.
Example call
{
"name": "corestack_ssh_user_create",
"arguments": {
"site_id": 4211,
"username": "deploy",
"type": "ssh"
}
}If it is refused
| Reason | What to do |
|---|---|
tenant_mismatch | Also answers a purged site: its SSH access ended with it, and its port may already be another site's. |
managed_elsewhere | Another 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_arguments | The 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_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The 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_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?