{"id":13476584,"url":"https://github.com/genuinetools/sshb0t","last_synced_at":"2025-04-05T02:09:50.825Z","repository":{"id":37790226,"uuid":"110564220","full_name":"genuinetools/sshb0t","owner":"genuinetools","description":"A bot for keeping your ssh authorized_keys up to date with user's GitHub keys, **only** use if you enable 2FA \u0026 keep your keys updates.","archived":false,"fork":false,"pushed_at":"2021-06-06T16:36:03.000Z","size":3301,"stargazers_count":280,"open_issues_count":4,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T01:12:01.964Z","etag":null,"topics":["bot","cli","github","golang","ssh"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/genuinetools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-13T15:17:32.000Z","updated_at":"2024-08-12T19:34:01.000Z","dependencies_parsed_at":"2022-08-18T07:51:46.394Z","dependency_job_id":null,"html_url":"https://github.com/genuinetools/sshb0t","commit_stats":null,"previous_names":["jessfraz/sshb0t"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fsshb0t","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fsshb0t/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fsshb0t/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genuinetools%2Fsshb0t/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/genuinetools","download_url":"https://codeload.github.com/genuinetools/sshb0t/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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","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":["bot","cli","github","golang","ssh"],"created_at":"2024-07-31T16:01:32.242Z","updated_at":"2025-04-05T02:09:50.811Z","avatar_url":"https://github.com/genuinetools.png","language":"Makefile","readme":"# sshb0t\n\n[![make-all](https://github.com/genuinetools/sshb0t/workflows/make%20all/badge.svg)](https://github.com/genuinetools/sshb0t/actions?query=workflow%3A%22make+all%22)\n[![make-image](https://github.com/genuinetools/sshb0t/workflows/make%20image/badge.svg)](https://github.com/genuinetools/sshb0t/actions?query=workflow%3A%22make+image%22)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/sshb0t)\n[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/sshb0t/total.svg?style=for-the-badge)](https://github.com/genuinetools/sshb0t/releases)\n\nA bot for keeping your ssh `authorized_keys` up to date with user's GitHub keys\nfrom `https://github.com/{username}.keys`.\n\n**WARNING:** Only use this if you have two factor auth enabled for your GitHub\naccount and you make sure to delete old keys from your account.\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**\n\n- [Installation](#installation)\n    - [Binaries](#binaries)\n    - [Via Go](#via-go)\n    - [Running with Docker](#running-with-docker)\n- [Usage](#usage)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Installation\n\n#### Binaries\n\nFor installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/sshb0t/releases).\n\n#### Via Go\n\n```console\n$ go get github.com/genuinetools/sshb0t\n```\n\n#### Running with Docker\n\n```console\n$ docker run -d --restart always \\\n    --name sshb0t \\\n    -v ${HOME}/.ssh/authorized_keys:/root/.ssh/authorized_keys \\\n    r.j3ss.co/sshb0t --user genuinetools --keyfile /root/.ssh/authorized_keys\n```\n\n## Usage\n\n```console\n$ sshb0t -h\nsshb0t -  A bot for keeping your ssh authorized_keys up to date with user's GitHub keys.\n\nUsage: sshb0t \u003ccommand\u003e\n\nFlags:\n\n  --url       GitHub Enterprise URL (default: https://github.com)\n  --user      GitHub usernames for which to fetch keys (default: [])\n  -d          enable debug logging (default: false)\n  --interval  update interval (ex. 5ms, 10s, 1m, 3h) (default: 30s)\n  --keyfile   file to update the authorized_keys (default: /home/jessie/.ssh/authorized_keys)\n  --once      run once and exit, do not run as a daemon (default: false)\n\nCommands:\n\n  version  Show the version information.\n```\n\n[![Analytics](https://ga-beacon.appspot.com/UA-29404280-16/sshb0t/README.md)](https://github.com/genuinetools/sshb0t)\n","funding_links":[],"categories":["Makefile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenuinetools%2Fsshb0t","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenuinetools%2Fsshb0t","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenuinetools%2Fsshb0t/lists"}