# sshgate MCP server

> Allows AI coding agents to diagnose and fix Linux servers via SSH with read commands running instantly and writes requiring manual phone approval.

- Repository: https://github.com/andrometiq/sshgate
- Page: https://hostedmcp.org/servers/andrometiq/sshgate
- Transport: —
- Stars: 2
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SSHGATE_SIGNER_SOCK` | no | no |  |

## FAQ

### How does SSHGate handle write commands?

Write commands require a manual tap on your phone via Telegram to approve. The server enforces this by only executing commands that carry a valid, short-lived Ed25519 signature.

### What happens if the AI agent tries to run a write command as a read?

The system uses a classifier to distinguish between reads and writes; if it misclassifies a write as a read, it will run without approval, though kernel jails can mitigate the impact on supported hosts.
