A bot for keeping your ssh authorized_keys up to date with user's GitHub keys, **only** use if you enable 2FA & keep your keys updates.

Clone this repo:
  1. 529ace5 cgo=0, change to multistage build (#1) by Benjamin · 4 weeks ago master
  2. d884af4 Bump version to v0.0.5 by Jess Frazelle · 4 weeks ago v0.0.5
  3. 9022aa8 update travis deploy by Jess Frazelle · 4 weeks ago
  4. f304412 Bump version to v0.0.4 by Jess Frazelle · 4 weeks ago v0.0.4
  5. 15e2eb9 update travis deploy by Jess Frazelle · 4 weeks ago

sshb0t

Travis CI

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.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/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 jessfraz

Usage

         _     _      ___  _
 ___ ___| |__ | |__  / _ \| |_
/ __/ __| '_ \| '_ \| | | | __|
\__ \__ \ | | | |_) | |_| | |_
|___/___/_| |_|_.__/ \___/ \__|
 A bot for keeping your ssh authorized_keys up to date with user's GitHub keys
 Version: v0.0.5
  -d    run in debug mode
  -interval string
        update interval (ex. 5ms, 10s, 1m, 3h) (default "30s")
  -keyfile string
        file to update the authorized_keys (default "/home/jess/.ssh/authorized_keys")
  -user value
        GitHub usernames for which to fetch keys
  -v    print version and exit (shorthand)
  -version
        print version and exit

Analytics