Command 'ssh-keys'

Summary

Lists the currently known SSH keys for the current (or specified) model.

Options

Flag Default Usage
--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>|<model UUID>

Examples

juju ssh-keys

To examine the full key, use the ‘–full’ option:

juju ssh-keys -m jujutest --full

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.


Last updated 11 months ago. Help improve this document in the forum.