v0.2.0
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlpLbSsACgkQGPNoXAAi
v/NboBAAqh9Fj84ZinQxtHnef6xUsTwGti1fa4v2SBBGDfGglWVq16MdevjXuMSw
A7x2bDvUY+KSjbHKDO4zL1zarTsiouiHXgpalp0SWpbSjqNcBzmLzwa8kTYfAYSc
KOZGYPodeWXd2HQixnUJ52LtZ+LCeafLyvsyEjBPKSfyoC0wl7QqfmDnC8aKl9Z4
EExIuvE4XuPalGds8ZnsKcHWDZVQ/5Jjx6b0Hhn/DeNGP1B0Ym45i8b8ImvmxSuY
LaOv60BCEHv1eIiMfcVEsAZtUwG0MZqdW0GZiRa4RRstIl7qy7AOwceO7wUJIZet
YoAZiVKs8Qg1rSCtFvdC8Tdi703sFTcnd7KoUiy2nsZtU91DJKbtaKKby1j8Q0Px
1V63AsVfrA5RyoRhoxmD42PvQf2JsqgqeYr1g/QYxUy8682O92UwZRgZv5MEryd2
vChdozK4dB3tmHIkGWPiD+0Lz5P/G/Y4w3B8BH8U8sqoLYaDqQRktcIW0XZjg93e
W3AWXylJm9FijHI4b9Www+i/fcaEagh6uRB17KFm/cwManPBmb9/Z5iV0xeKiYBG
LGNqfuUUuCa8s6DSmNzcCNK+5q/YYR0lWhNDGIFC9VcuQkYrwjSwXzTc2GcZ05Nv
I0V2NxihdCY1zUTJSxeewwgbENmPEvSVFuQvLDI8KVT6vIV3Wng=
=1gVc
-----END PGP SIGNATURE-----
Bump version to v0.2.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: c0d48d690ecd73dbef5bb7d6482ff80b7fc589d5
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION
  10. main.go
  11. main_unix.go
  12. main_windows.go
  13. vendor/
  14. version/
README.md

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 --keyfile /root/.ssh/authorized_keys

Usage

         _     _      ___  _
 ___ ___| |__ | |__  / _ \| |_
/ __/ __| '_ \| '_ \| | | | __|
\__ \__ \ | | | |_) | |_| | |_
|___/___/_| |_|_.__/ \___/ \__|
 A bot for keeping your ssh authorized_keys up to date with user's GitHub keys
 Version: v0.2.0
  -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