Skip to main content
Glama

run_ssh_command_background

Execute SSH commands in the background on remote servers without blocking, allowing you to continue working while processes run. Returns a job ID for monitoring or managing the command later.

Instructions

Start a template command in the background (non-blocking).

Returns a job_id immediately. Use poll_background_job to read output, list_background_jobs to see all jobs, or cancel_background_job to stop.

Same template-only security model as run_ssh_command. Risk level: medium (requires user confirmation).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_idYes
template_idYes
paramsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bhayanak/ssh-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server