{"id":51720495,"url":"https://github.com/ghostcompiler/sshid-installer","last_synced_at":"2026-07-17T10:07:18.299Z","repository":{"id":369672516,"uuid":"1261043956","full_name":"ghostcompiler/sshid-installer","owner":"ghostcompiler","description":"Automated SSH and server provisioning installer for Linux environments with secure configuration, key management, system hardening, and deployment automation.","archived":false,"fork":false,"pushed_at":"2026-07-06T10:27:40.000Z","size":232,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-07-06T12:12:00.541Z","etag":null,"topics":["automation","bash","cli","debian","deployment","devops","infrastructure","linux","opensource","security","server-management","server-provisioning","server-setup","shell-script","ssh","ssh-installer","ssh-keys","system-administration","ubuntu"],"latest_commit_sha":null,"homepage":"https://ssh.hsp.ovh/auth/login","language":"JavaScript","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/ghostcompiler.png","metadata":{"files":{"readme":"README.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-06-06T06:59:44.000Z","updated_at":"2026-07-06T10:27:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ghostcompiler/sshid-installer","commit_stats":null,"previous_names":["ghostcompiler/sshid-installer"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ghostcompiler/sshid-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostcompiler%2Fsshid-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostcompiler%2Fsshid-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostcompiler%2Fsshid-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostcompiler%2Fsshid-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghostcompiler","download_url":"https://codeload.github.com/ghostcompiler/sshid-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostcompiler%2Fsshid-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35577151,"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-17T02:00:06.162Z","response_time":116,"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":["automation","bash","cli","debian","deployment","devops","infrastructure","linux","opensource","security","server-management","server-provisioning","server-setup","shell-script","ssh","ssh-installer","ssh-keys","system-administration","ubuntu"],"created_at":"2026-07-17T10:07:16.709Z","updated_at":"2026-07-17T10:07:18.294Z","avatar_url":"https://github.com/ghostcompiler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://res.cloudinary.com/djgvfl1tv/image/upload/v1780666791/logo_mqnqn4.png\" alt=\"Ghost Compiler\" width=\"180\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eSSHID Installer\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  SSHID is a self-hosted hub for SSH public keys. Save your keys once, share a memorable URL, and authorize them on any server with one command — no manual copying, no duplicate \u003ccode\u003eauthorized_keys\u003c/code\u003e entries, and no need to pass private keys around.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Laravel-13-FF2D20?style=for-the-badge\u0026logo=laravel\u0026logoColor=white\" alt=\"Laravel\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PHP-8.3+-777BB4?style=for-the-badge\u0026logo=php\u0026logoColor=white\" alt=\"PHP\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/React-19-61DAFB?style=for-the-badge\u0026logo=react\u0026logoColor=black\" alt=\"React\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Inertia.js-Frontend-9333EA?style=for-the-badge\" alt=\"Inertia.js\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/SSH-Public%20Keys-0EA5E9?style=for-the-badge\" alt=\"SSH\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Built%20By-Ghost%20Compiler-0F172A?style=for-the-badge\" alt=\"Ghost Compiler\"\u003e\n\u003c/p\u003e\n\n---\n\nInstead of copying public keys manually between machines, a user can save their public SSH keys once in SSHID and then install them on a server with a short command:\n\n```bash\ncurl -sS https://ssh.hsp.ovh/username | bash\n```\n\nFor example:\n\n```bash\ncurl -sS https://ssh.hsp.ovh/ghostcompiler | bash\n```\n\nThe public browser page at the same URL shows a polished command page with copy buttons. Command-line clients receive an installer script.\n\n## What This Project Is For\n\nSSHID makes SSH key distribution easier for developers, server admins, and teams who frequently need to authorize the same public keys on new servers.\n\nUse it to:\n\n- Store SSH public keys under a user account.\n- Share a memorable public install URL.\n- Install saved SSH keys on a server with one command.\n- Avoid duplicate entries in `~/.ssh/authorized_keys`.\n- Keep the private SSH key on the user's machine.\n\nSSHID only stores public keys. It should never receive or store private keys.\n\n## Main Features\n\n- User registration and login.\n- Custom public username for each account.\n- Dashboard for adding, listing, and deleting SSH public keys.\n- SSH public key validation before saving.\n- Duplicate key detection using a stable key hash.\n- Public command page at `/{username}` for browsers.\n- Bash installer script at `/{username}` for command-line clients such as `curl`.\n- Raw key endpoint at `/{username}.keys`.\n- Legacy installer endpoint at `/{username}/install`.\n- Installer creates `~/.ssh`, fixes permissions, validates fetched keys, and skips keys already present in `authorized_keys`.\n\n## How It Works\n\nFor a browser request:\n\n```text\nhttps://ssh.hsp.ovh/ghostcompiler\n```\n\nSSHID shows a public page with commands and copy buttons.\n\nFor a command-line request:\n\n```bash\ncurl -sS https://ssh.hsp.ovh/ghostcompiler | bash\n```\n\nSSHID returns a bash installer script. The script fetches:\n\n```text\nhttps://ssh.hsp.ovh/ghostcompiler.keys\n```\n\nThen it appends missing valid public keys to:\n\n```text\n~/.ssh/authorized_keys\n```\n\n## Tech Stack\n\n- Laravel 13\n- PHP 8.3+\n- Inertia.js\n- React 19\n- Vite\n- Tailwind CSS\n- shadcn-style UI components\n- SQLite or any Laravel-supported database\n\n## Requirements\n\n- PHP 8.3 or newer\n- Composer\n- Node.js and npm\n- SQLite, MySQL, PostgreSQL, or another Laravel-supported database\n\n## Local Setup\n\nClone the repository:\n\n```bash\ngit clone \u003crepository-url\u003e\ncd ssh\n```\n\nInstall PHP dependencies:\n\n```bash\ncomposer install\n```\n\nInstall JavaScript dependencies:\n\n```bash\nnpm install\n```\n\nCreate the environment file:\n\n```bash\ncp .env.example .env\n```\n\nGenerate the application key:\n\n```bash\nphp artisan key:generate\n```\n\nCreate the database if you are using SQLite:\n\n```bash\ntouch database/database.sqlite\n```\n\nUpdate `.env` for SQLite:\n\n```env\nDB_CONNECTION=sqlite\nDB_DATABASE=/absolute/path/to/database/database.sqlite\n```\n\nRun migrations:\n\n```bash\nphp artisan migrate\n```\n\nStart the development servers:\n\n```bash\ncomposer run dev\n```\n\nOpen the app:\n\n```text\nhttp://127.0.0.1:8000\n```\n\nIf port `8000` is already in use, Laravel may start on another port such as `8001`.\n\n## Useful Commands\n\nRun the PHP test suite:\n\n```bash\nphp artisan test\n```\n\nRun Laravel Pint:\n\n```bash\n./vendor/bin/pint\n```\n\nBuild frontend assets:\n\n```bash\nnpm run build\n```\n\nRun only Vite:\n\n```bash\nnpm run dev\n```\n\n## Public Endpoints\n\nPublic command page and CLI installer:\n\n```text\nGET /{username}\n```\n\nRaw public keys:\n\n```text\nGET /{username}.keys\n```\n\nInstaller script:\n\n```text\nGET /{username}/install\n```\n\n## Authenticated Dashboard Endpoints\n\nDashboard:\n\n```text\nGET /dashboard\n```\n\nUpdate username:\n\n```text\nPATCH /dashboard/username\n```\n\nAdd SSH key:\n\n```text\nPOST /dashboard/keys\n```\n\nDelete SSH key:\n\n```text\nDELETE /dashboard/keys/{key}\n```\n\n## Security Notes\n\n- Only public SSH keys should be submitted.\n- Private keys must stay on the user's machine.\n- The installer uses `ssh-keygen` to validate keys before appending them.\n- Duplicate saved keys are detected by hashing the key type and public key body.\n- The install command pipes a script into `bash`; users should only run commands from a SSHID instance they trust.\n\n## Repository Description\n\nMemorable SSH public key hosting and one-command server authorization for developers and teams.\n\n## License\n\nThis project is open-sourced under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostcompiler%2Fsshid-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostcompiler%2Fsshid-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostcompiler%2Fsshid-installer/lists"}