token-validator: generate authorizedkeys file
This commit is contained in:
parent
36db72ba07
commit
2ee32cb45b
2 changed files with 42 additions and 1 deletions
|
@ -59,6 +59,7 @@ func main() {
|
|||
var baseURL = flag.String("baseurl", "/", "URL prepended to each URL")
|
||||
flag.StringVar(&StaticDir, "static", "./htdocs/", "Directory containing static files")
|
||||
flag.StringVar(&sharedSecret, "sharedsecret", "adelina", "secret used to communicate with remote validator")
|
||||
flag.StringVar(&AuthorizedKeyLocation, "authorizedkeyslocation", Authorizedkeyslocation, "File for allowing user to SSH to the machine")
|
||||
flag.Parse()
|
||||
|
||||
// Sanitize options
|
||||
|
|
Reference in a new issue