ssh-mcp-server
Verified Safeby jiahuidegit
Overview
Provides secure remote server management capabilities, including SSH connection, command execution, and SFTP file transfers, via the MCP protocol for integration with AI agents.
Installation
npx @erliban/ssh-mcp-serverEnvironment Variables
- SSH_MCP_LOG_LEVEL
- SSH_MCP_LOG_FILE
- SSH_MCP_CONN_TIMEOUT
- SSH_MCP_CMD_TIMEOUT
- SSH_MCP_IDLE_TIMEOUT
- SSH_MCP_MAX_CONNECTIONS
- SSH_MCP_DATA_DIR
- SSH_MCP_MASTER_PASSWORD
- SSH_MCP_LONG_CMD_TIMEOUT
- SSH_MCP_HEALTH_CHECK
- SSH_MCP_HEALTH_CHECK_INTERVAL
- SSH_MCP_AUTO_RECONNECT
- SSH_MCP_MAX_RECONNECT_ATTEMPTS
Security Notes
The server demonstrates strong security awareness by implementing a robust dangerous command detection mechanism that requires explicit user confirmation for potentially destructive operations (e.g., `rm -rf /`). Sensitive credentials are securely stored using the system's Keychain (macOS, Windows) or via AES-256-GCM encrypted files protected by an optional master password. Additionally, audit logs automatically mask sensitive information like passwords and private keys. There are no indications of 'eval' or malicious obfuscation in the provided source code.
Similar Servers
ssh-mcp-server
Bridging AI assistants to remote SSH server operations for command execution, file transfer, and server status retrieval via the Model Context Protocol (MCP).
ssh-mcp-server
Provides secure SSH capabilities (command execution, SFTP, port forwarding, templates) for AI assistants to manage remote servers.
mcp-ssh-manager
Manages remote SSH servers via the Model Context Protocol (MCP), enabling AI assistants like Claude Code and OpenAI Codex to execute commands, transfer files, monitor health, and automate DevOps tasks.
mcp-server-win-cli
MCP server for secure command-line interactions on Windows systems, enabling controlled access to PowerShell, CMD, Git Bash shells, and remote systems via SSH. It allows MCP clients (like Claude Desktop) to perform operations on your system.