Back to Home
jiahuidegit icon

ssh-mcp-server

Verified Safe

by 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

Run Command
npx @erliban/ssh-mcp-server

Environment 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

Stats

Interest Score37
Security Score9
Cost ClassLow
Stars2
Forks0
Last Update2026-01-17

Tags

SSHSFTPRemote ManagementMCPNode.js