sshb0t

command module
Version: v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2018 License: MIT Imports: 13 Imported by: 0

README

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

  -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/jessie/.ssh/authorized_keys")
  -once
        run once and exit, do not run as a daemon
  -user value
        GitHub usernames for which to fetch keys
  -v    print version and exit (shorthand)
  -version
        print version and exit

Analytics

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL