EasySSH 将 React 前端、Go API、SSH 终端和运维 Agent 打包为一个 Windows 可执行文件。
分别启动 API 和 Vite 开发服务器:
cd api
go run ./cmd/servercd web
pnpm dev访问 http://localhost:5173。Vite 会将 /api 和 WebSocket 请求代理到 localhost:8080。
在 EasySSH 根目录运行:
Windows:
build.batLinux/macOS:
chmod +x build.sh
./build.shWindows 生成 easyssh.exe,Linux/macOS 生成 easyssh。运行后访问 http://localhost:8080:
.\easyssh.exe程序会在当前工作目录的 data 文件夹中创建 SQLite 数据库和凭据加密主密钥。