Usage: juju ssh-keys [options]
Summary:
Lists the currently known SSH keys for the current (or specified) model.
Options:
-B, --no-browser-login (= false)
Do not use web browser for authentication
--full (= false)
Show full key instead of just the fingerprint
-m, --model (= "")
Model to operate in. Accepts [<controller name>:]<model name>
Details:
Juju maintains a per-model cache of SSH keys which it copies to each newly created unit.
This command will display a list of all the keys currently used by Juju in the current model (or the model specified, if the -m
option is used). By default a minimal list is returned, showing only the fingerprint of each key and its text identifier. By using the --full
option, the entire key may be displayed.
Examples:
juju ssh-keys
To examine the full key, use the --full
option:
juju ssh-keys -m jujutest --full
Aliases:
list-ssh-keys