ssh_session_start
Start a persistent interactive SSH session on a configured server and get a session ID. Keeps working directory, environment, and history alive for subsequent commands until closed.
Instructions
Opens a new persistent interactive shell on the named configured server and returns a generated session ID. Stateful and side-effecting: it establishes (or reuses pooled) SSH connection and keeps an open shell that preserves working directory, environment, and command history across later ssh_session_send calls, unlike one-shot ssh_execute. The optional name is only a human label. The session stays open and consumes a remote shell until ssh_session_close is called.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server": "<server>"
},
"name": "ssh_session_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional session name for identification | |
| server | Yes | Server name from configuration |