Fixed README.md

This commit is contained in:
Jan Christian Grünhage 2017-04-10 18:16:59 +02:00
parent 29cbbd67d4
commit 0df18f1d80
Signed by: jcgruenhage
GPG key ID: 321A67D9EE8BC3E1

View file

@ -5,6 +5,8 @@ When working with borg serve in an automated environment, you should use an auth
To generate that file, do this (assuming you have set up everything needed for go get, and $GOPATH/bin is in your $PATH):
```bash
go get git.jcg.re/jcgruenhage/borg-gen-auth-keys
borg-gen-auth-keys yourjsonfile.json > ~/.ssh/authorized_keys
go get git.jcg.re/jcgruenhage/borg-gen-auth-keys.git
borg-gen-auth-keys.git yourjsonfile.json > ~/.ssh/authorized_keys
```
PS: If anyone could tell me how to get rid of this .git in the end, that would be nice. If someone could tell me, how to make it so that I can put this in a subfolder of another repository, that would be even better (a script collection).