---
title: "POST /v1/ssh-commands/{commandUid}/execute"
method: POST
path: "/v1/ssh-commands/{commandUid}/execute"
tags: ["SSHCommand"]
---

# POST /v1/ssh-commands/{commandUid}/execute

`POST /v1/ssh-commands/{commandUid}/execute`

## Request

- The document declares no server URL.
- Auth: none declared

ExecuteSSHCommand runs a stored command template on a remote host over SSH.

## Path parameters

- `commandUid` string, required

## Request body

- JadeTreeApiV1ExecuteSSHCommandRequest
  - `commandUid` string
  - `host` string
  - `port` integer
  - `username` string
  - `password` string
  - `privateKey` string
  - `timeoutSeconds` integer

## Response `200`

OK

- JadeTreeApiV1ExecuteSSHCommandReply
  - `stdout` string
  - `stderr` string
  - `exitCode` integer

## Changes

- **2026-04-01** `0fa69c9f4202`: 1 info
  - endpoint added
- **2026-03-31** `78c6a8306f65`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/aide-family/apis/aide-family-jade-tree-api/changes/v1/ssh-commands/:commandUid/execute/post.md)

---

[API](https://skmtc.dev/aide-family/apis/aide-family-jade-tree-api.md) - [All operations](https://skmtc.dev/aide-family/apis/aide-family-jade-tree-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aide-family/apis/aide-family-jade-tree-api/revisions/7c1198712e80?raw)
