Back to Home
samerfarida icon

mcp-ssh-orchestrator

Verified Safe

by samerfarida

Overview

Provides secure, policy-driven SSH orchestration for AI agents to manage server infrastructure with audit logging, enforcing zero-trust principles.

Installation

Run Command
docker run -i --rm -v "$(pwd)/config:/app/config:ro" -v "$(pwd)/keys:/app/keys:ro" -v "$(pwd)/secrets:/app/secrets:ro" ghcr.io/samerfarida/mcp-ssh-orchestrator:latest

Environment Variables

  • MCP_SSH_CONFIG_DIR
  • MCP_SSH_KEYS_DIR
  • MCP_SSH_SECRETS_DIR

Security Notes

The server implements a robust defense-in-depth security model. Critical features include: extensive input validation (length limits, null byte/control character rejection), command normalization and chain parsing to prevent obfuscation/chaining bypasses, hard-banned dangerous shell patterns, strict file path validation (no path traversal, no symlinks/directories for secrets/keys), file size limits for configurations, mandatory SSH host key verification (CWE-295 mitigated), IP allowlists/blocklists, DNS rate limiting and caching for DoS prevention, non-root container execution, and comprehensive structured JSON audit logging for all policy decisions and executions. Sensitive information is sanitized from user-facing error messages.

Similar Servers

Stats

Interest Score43
Security Score10
Cost ClassMedium
Avg Tokens300
Stars19
Forks5
Last Update2026-01-19

Tags

sshorchestrationsecuritypolicydevops