token-validator: fix ssh part and add support for ssh-piperd
This commit is contained in:
parent
20749da348
commit
ff9c6bacdf
2 changed files with 79 additions and 5 deletions
|
|
@ -58,7 +58,8 @@ func main() {
|
|||
var dsn = flag.String("dsn", DSNGenerator(), "DSN to connect to the MySQL server")
|
||||
var baseURL = flag.String("baseurl", "/", "URL prepended to each URL")
|
||||
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.StringVar(&AuthorizedKeysLocation, "authorizedkeyslocation", AuthorizedKeysLocation, "File for allowing user to SSH to the machine")
|
||||
flag.StringVar(&SshPiperLocation, "sshPiperLocation", SshPiperLocation, "Directory containing directories for sshpiperd")
|
||||
flag.Parse()
|
||||
|
||||
// Sanitize options
|
||||
|
|
|
|||
Reference in a new issue