ChatSSH - Shell Client for Linux Computers
ChatSSH - Shell Client for Linux Computers · Acciones GPT
Remote Shell Command Executor
Executes specified shell commands and manages files on a remote server via SSH.
POST /execute_command.phpexecuteCommandExecute a shell command on a remote server via SSH
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Remote Shell Command Executor",
"description": "Executes specified shell commands and manages files on a remote server via SSH.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://chatssh.net"
}
],
"paths": {
"/execute_command.php": {
"post": {
"description": "Execute a shell command on a remote server via SSH",
"operationId": "executeCommand",
"parameters": [
{
"name": "http-api-key",
"in": "header",
"required": true,
"description": "API key for authentication",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "Data containing the shell command to be executed on the remote server",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"chatSshToken": {
"type": "string",
"description": "The ChatSSH Token user to access remote server"
},
"command": {
"type": "string",
"description": "The shell command to be executed on the remote server"
}
},
"required": [
"command"
]
}
}
}
},
"responses": {
"200": {
"description": "Command executed successfully on the remote server",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"output": {
"type": "string",
"description": "Output of the executed command on the remote server"
}
}
}
}
}
},
"400": {
"description": "Invalid request or command not provided"
},
"401": {
"description": "Unauthorized access"
},
"500": {
"description": "Internal Server Error"
}
},
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}