High-risk tools in SSH MCP Server
3 of the 6 tools in SSH MCP Server are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
create_connectionExecuteOpen an SSH session to the given machine and track it in global state so subsequent tool calls can reuse it.
-
execute_commandExecuteRun a shell command in an existing SSH session and return stdout/stderr/exitCode.
-
secure_execute_commandExecuteRun a **read‑only** shell command (i.e., one that does not mutate state) in an existing SSH session and return stdout/stderr/exitCode.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.