{"id":51375101,"url":"https://github.com/fivif/sshc","last_synced_at":"2026-07-03T11:20:09.468Z","repository":{"id":358937369,"uuid":"1243751539","full_name":"fivif/sshc","owner":"fivif","description":"让本地 AI Agent 在线管理你的远程服务器。Zero-overhead SSH multiplexing CLI for AI agents — manage remote servers like local commands.","archived":false,"fork":false,"pushed_at":"2026-05-19T18:22:10.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T20:43:13.013Z","etag":null,"topics":["agent-skills","ai-agent","claude-code","devops","server-management","ssh"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fivif.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T16:21:01.000Z","updated_at":"2026-05-19T18:21:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fivif/sshc","commit_stats":null,"previous_names":["fivif/sshc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fivif/sshc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivif%2Fsshc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivif%2Fsshc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivif%2Fsshc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivif%2Fsshc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fivif","download_url":"https://codeload.github.com/fivif/sshc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivif%2Fsshc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35083986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skills","ai-agent","claude-code","devops","server-management","ssh"],"created_at":"2026-07-03T11:20:08.862Z","updated_at":"2026-07-03T11:20:09.447Z","avatar_url":"https://github.com/fivif.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003csub\u003e🌐 \u003ca href=\"README.md\"\u003e中文\u003c/a\u003e\u003c/sub\u003e\n\n# sshc — Let Your Local AI Agent Manage Your Servers\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\nInstall this skill and your AI Agent can operate remote servers directly. No commands to memorize, no environment to configure — just talk naturally.\n\n```bash\nnpx skills add fivif/sshc -g --agent claude-code -y\n```\n\n## Natural Language Server Management\n\n```\nYou: /sshc\nAgent: Web management panel opened at http://127.0.0.1:17375\n\nYou: /sshc configure a production server at 1.2.3.4, root user, use my ~/.ssh/id_rsa key\nAgent: Added server \"prod\": root@1.2.3.4:22\n\nYou: /sshc add a local SOCKS5 proxy to prod, using 127.0.0.1:1080\nAgent: Proxy configured for prod: nc -X 5 -x 127.0.0.1:1080 %h %p\n\nYou: Check all servers\nAgent: ● prod alive  ● staging alive  ○ dev dead\n\nYou: Show disk usage on prod\nAgent: Disk 79% used, 14G remaining. Should I clean /var/log?\n\nYou: apt update all three servers\nAgent: [parallel] prod ✓  staging ✓  dev ✗ (unreachable — needs manual check)\n```\n\n## What Your Agent Can Do\n\n| You say | Agent does |\n|---------|------------|\n| `/sshc` | Open the web management dashboard |\n| `/sshc configure xxx VPS` | Add a server to config |\n| `/sshc add proxy to xxx` | Configure HTTP/SOCKS5 proxy |\n| `/sshc check all servers` | Health check + status overview |\n| `/sshc run \u003ccommand\u003e on xxx` | Execute any command remotely |\n| `/sshc batch update all servers` | Parallel execution, per-server report |\n\nYour agent handles: compiling the daemon, starting the daemon, setting file permissions, parallel execution, and automatic retry on failure.\n\n## Configuration\n\nYour agent maintains `~/.sshc/profiles.json`, supporting keys, passwords, and proxies:\n\n```json\n{\n  \"default\": \"prod\",\n  \"servers\": {\n    \"prod\": {\n      \"host\": \"10.0.0.1\", \"user\": \"root\",\n      \"key\": \"~/.ssh/id_rsa\", \"port\": 22,\n      \"proxy\": \"nc -X 5 -x 127.0.0.1:1080 %h %p\"\n    },\n    \"staging\": {\n      \"host\": \"10.0.0.2\", \"user\": \"admin\",\n      \"password\": \"xxx\", \"port\": 2222\n    }\n  }\n}\n```\n\n## Platform Support\n\n| OS | Status |\n|-----|--------|\n| macOS | Native |\n| Linux (Debian/Ubuntu/CentOS/Arch etc.) | Native |\n| BSD (FreeBSD/OpenBSD) | Native |\n| Windows (native) | Daemon + Web UI native, CLI needs Git Bash |\n| Windows (WSL) | Full support |\n\n## Manual Command Reference\n\nIf you prefer typing commands yourself instead of letting your agent handle it:\n\n```bash\n./sshc daemon                              # Start daemon\n./sshc health                              # Check all servers\n./sshc exec \u003cname\u003e \"\u003ccmd\u003e\" [timeout]       # Execute command\n./sshc add \u003cname\u003e \u003cuser@host\u003e -i \u003ckey\u003e [-p port] [--proxy \u003ccmd\u003e]  # Add server\n./sshc remove \u003cname\u003e                       # Remove server\n./sshc default \u003cname\u003e                      # Set as default\n./sshc reconnect \u003cname\u003e                    # Force reconnect\n./sshc web [port]                          # Open web dashboard\n```\n\n## Dependencies\n\nSystem builtins: `python3` `nc` `ssh` `cc`. `sshpass` only needed for password auth.\n\nWindows additionally requires `ws2_32` (system library, auto-linked by MinGW/MSVC).\n\n## License\n\nMIT — see [LICENSE](LICENSE)\n\n## Acknowledgments\n\nThanks to [DeepSeek](https://deepseek.com) and the [LINUX DO](https://linux.do) community. This project was developed with assistance from DeepSeek models.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffivif%2Fsshc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffivif%2Fsshc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffivif%2Fsshc/lists"}