SSH — policy-gated remote access

io.github.tufantunc/ssh-mcp

Policy-gated, audited SSH for Linux and Windows hosts: roles, approvals, and an audit log.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp@2.23.1"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "<your SSH_MCP_PASSWORD>",
        "SSH_MCP_PASSPHRASE": "<your SSH_MCP_PASSPHRASE>",
        "SSH_MCP_SUDO_PASSWORD": "<your SSH_MCP_SUDO_PASSWORD>"
      }
    }
  }
}
Environment variables
  • SSH_MCP_PASSWORDsecretPassword for the configured profile; a per-profile SSH_MCP_<PROFILE>_PASSWORD takes precedence. Credentials are never accepted as CLI arguments.
  • SSH_MCP_PASSPHRASEsecretPassphrase for an encrypted private key.
  • SSH_MCP_SUDO_PASSWORDsecretPassword the sudo tool escalates with, when the policy in force allows the privileged class.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
2.23.1
Registry
active
Published
11/6/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that SSH — policy-gated remote access is listed here — it’s also the link we check for a free listing.

SSH — policy-gated remote access — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-tufantunc-ssh-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="SSH — policy-gated remote access — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![SSH — policy-gated remote access — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-tufantunc-ssh-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.