A server that enables remote command execution over SSH through the Model Context Protocol (MCP), supporting both password and private key authentication.
一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。
# 克隆仓库 git clone https://github.com/your-repo/ssh-server.git cd ssh-server # 安装依赖 npm install # 构建项目 npm run build
npm start
execute_ssh_command
工具:请求示例:
{ "connection": { "host": "example.com", "port": 22, "username": "user", "password": "password" // 或使用 privateKey }, "command": "ls -la" }
# 开发模式 npm run build -- --watch # 运行测试 # (需要添加测试脚本)
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!