

GitHub - jessfraz/sshb0t: A bot for keeping your ssh authorized_keys up to date...
source link: https://github.com/jessfraz/sshb0t
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

sshb0t
A bot for keeping your ssh authorized_keys
up to date with user's GitHub keys
from https://github.com/{username}.keys
.
WARNING: Only use this if you have two factor auth enabled for your GitHub account and you make sure to delete old keys from your account.
Table of Contents
Installation
Binaries
For installation instructions from binaries please visit the Releases Page.
Via Go
$ go get github.com/genuinetools/sshb0t
Running with Docker
$ docker run -d --restart always \
--name sshb0t \
-v ${HOME}/.ssh/authorized_keys:/root/.ssh/authorized_keys \
r.j3ss.co/sshb0t --user genuinetools --keyfile /root/.ssh/authorized_keys
Usage
$ sshb0t -h
sshb0t - A bot for keeping your ssh authorized_keys up to date with user's GitHub keys.
Usage: sshb0t <command>
Flags:
--url GitHub Enterprise URL (default: https://github.com)
--user GitHub usernames for which to fetch keys (default: [])
-d enable debug logging (default: false)
--interval update interval (ex. 5ms, 10s, 1m, 3h) (default: 30s)
--keyfile file to update the authorized_keys (default: /home/jessie/.ssh/authorized_keys)
--once run once and exit, do not run as a daemon (default: false)
Commands:
version Show the version information.
Recommend
-
174
My vim dot files. the .vimrc file is saved to vimrc. About Installing Just run the following commands via terminal to get perfec...
-
118
weather Weather via the command line. Uses the darksky.net API so it's super accurate. Also includes any current weather alerts in the output.
-
102
README.md gitable
-
66
README.md bpfd
-
54
README.md morningpaper2remarkable
-
36
README.md gmailfilters
-
18
Google Cloud Platform is now FedRAMP High authorized 2019-12-05adminGoogleCloud
-
16
Xiaomi needs a better way to unbrick its devices instead of Authorized Mi AccountsWe may earn a commission for purchases made using our links...
-
3
Files Permalink Latest commit message Commit time
-
3
This script automatically adds SSH keys from a GitHub user to the authorized_keys file on a local machine. · GitHub Inst...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK