{"id":16583036,"url":"https://github.com/mazgi/openssh-authorizedkeyscommand-github","last_synced_at":"2025-07-28T05:07:40.999Z","repository":{"id":146369066,"uuid":"244872520","full_name":"mazgi/openssh-authorizedkeyscommand-github","owner":"mazgi","description":"Get your SSH Public Key from GitHub.","archived":false,"fork":false,"pushed_at":"2020-10-03T18:54:38.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T02:44:54.178Z","etag":null,"topics":["authorizedkeyscommand","ssh"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mazgi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["mazgi"],"patreon":"mazgi"}},"created_at":"2020-03-04T10:33:05.000Z","updated_at":"2022-02-08T18:44:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"05c1b049-649d-4735-81af-aff806ff90c9","html_url":"https://github.com/mazgi/openssh-authorizedkeyscommand-github","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mazgi/openssh-authorizedkeyscommand-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fopenssh-authorizedkeyscommand-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fopenssh-authorizedkeyscommand-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fopenssh-authorizedkeyscommand-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fopenssh-authorizedkeyscommand-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazgi","download_url":"https://codeload.github.com/mazgi/openssh-authorizedkeyscommand-github/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazgi%2Fopenssh-authorizedkeyscommand-github/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464522,"owners_count":24091505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["authorizedkeyscommand","ssh"],"created_at":"2024-10-11T22:34:47.738Z","updated_at":"2025-07-28T05:07:40.939Z","avatar_url":"https://github.com/mazgi.png","language":"Rust","funding_links":["https://github.com/sponsors/mazgi","https://patreon.com/mazgi"],"categories":[],"sub_categories":[],"readme":"# OpenSSH AuthorizedKeysCommand GitHub\n\n![GitHub Actions status for \"test-all\"](https://github.com/mazgi/openssh-authorizedkeyscommand-github/workflows/test-all/badge.svg)\n\nGet your SSH Public Key from GitHub.\n\n```console\n\u003e openssh-authorizedkeyscommand-github --help\nOpenSSH AuthorizedKeysCommand GitHub\n\nUsage:\n  openssh-authorizedkeyscommand-github --user=\u003cuser\u003e\n  openssh-authorizedkeyscommand-github (--help | --version)\n\nOptions:\n  --user=\u003cuser\u003e   GitHub user.\n  -V, --version   Show version.\n  -h, --help      Show this screen.\n```\n\n## How to use\n\n1. Place the binary in your `$PATH`.\n\n```console\ncurl -L https://github.com/mazgi/openssh-authorizedkeyscommand-github/releases/download/v0.0.1/openssh-authorizedkeyscommand-github.x86_64-unknown-linux-gnu.tar.gz | sudo tar xz -C /usr/local/bin/\n```\n\n2. Update `/etc/ssh/sshd_config` like below.\n\n```ssh_config\nAuthorizedKeysCommandUser nobody\nAuthorizedKeysCommand /usr/local/bin/openssh-authorizedkeyscommand-github --user %u\n```\n\n3. Restart SSH server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazgi%2Fopenssh-authorizedkeyscommand-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazgi%2Fopenssh-authorizedkeyscommand-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazgi%2Fopenssh-authorizedkeyscommand-github/lists"}