aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan DeMasi <jon.demasi@colorado.edu>2019-06-05 12:14:17 -0600
committerJonathan DeMasi <jon.demasi@colorado.edu>2019-06-05 12:14:17 -0600
commit120b99769b665d2ca518ef74d239e3fbede96c39 (patch)
tree198d94506a565965e026749fcf8d115acaf0f26e
parent4b9c9759d097a38e87e4ae85db8c139707e9034a (diff)
downloadgh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.tar
gh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.tar.gz
gh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.tar.bz2
gh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.tar.lz
gh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.tar.xz
gh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.tar.zst
gh_authkey_checker-120b99769b665d2ca518ef74d239e3fbede96c39.zip
this should place a binary in the new location!
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2c47176..ddf1666 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
This is an sshd helper intended to be used in conjunction with the `AuthorizedKeysCommand` configuration option to check a user's presented key against their GitHub account. This is definitely *not* the most secure thing to do, but can be used for transient instances like Amazon and other cloud instances for temporary deployments so that you, as the admin, don't have to manage SSH keys :-) Just add users and go. *Note: Local usernames must match the user's GitHub account name*
## Building
-Simply clone the repository and use `go build -o gh_authkey_checker main.go` to build a binary. This repository is also mirrored on [GitHub](https://github.com/jrdemasi/gh_authkey_checker), because, afterall, it's Go. If you trust me, the most up-to-date copy of the tool can also be found [here](https://jrdemasi.com/files/binaries/gh_authkey_checker "gh_authkey_checker binary download")
+Simply clone the repository and use `go build -o gh_authkey_checker main.go` to build a binary. This repository is also mirrored on [GitHub](https://github.com/jrdemasi/gh_authkey_checker), because, afterall, it's Go. If you trust me, the most up-to-date copy of the tool can also be found [here](https://files.jthan.io/binaries/gh_authkey_checker "gh_authkey_checker binary download")
## Installation
Per FHS, this most likely belongs in `/opt`, but I'm sticking it in `/usr/local/sbin` to minimize configuration (again, on testing and short deployment cloud instances). Simply copy the binary you built or downloaded in `/usr/local/sbin`, then `chmod root:root /usr/local/sbin/gh_authkey_checker`. Lastly, make sure that only root can execute, `chmod 700 /usr/local/sbin/gh_authkey_checker`.