Authentication CLI program, which logs a Stolos user in, using her key hash.
1.5K
Authentication CLI program, which logs a Stolos user in, using her key hash.
Usage: stolos-auth [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
match Fetch SSH public keys that match the given...
stolos-auth matchUsage: stolos-auth match [OPTIONS] LOGIN_USER LOGIN_KEY
Fetch SSH public keys that match the given fingerprint.
Example ssd_config: AuthorizedKeysCommand stolos-auth %u %f
Options:
--user TEXT The user to authenticate.
--stolos-url TEXT The URL of the Stolos server to use.
--stolos-token TEXT The token to use for connecting to Stolos.
--help Show this message and exit.
Example directive in /etc/ssh/sshd_config
AuthorizedKeysCommand $ /usr/local/bin/docker run --rm \
-e STOLOS_AUTH_URL=https://api.stolos.io \
-e STOLOS_AUTH_TOKEN=24fcf66e22680c70183549f9da2aa558a6bdd144
-e STOLOS_AUTH_USER=stolos \
sourcelair/stolos-auth match %u %f
AuthorizedKeysCommandUser stolos
Content type
Image
Digest
Size
257.4 MB
Last updated
over 8 years ago
docker pull sourcelair/stolos-auth