Fingerprint
sh
ssh-vault fingerprint -h
aliases
f
INFO
Usage: ssh-vault fingerprint [OPTIONS]
Options:
-k, --key <key> Path to public ssh key or index when using option -u
-u, --user <user> GitHub username or URL, optional [-k N] where N is the key index
-h, --help Print help
MD5
The md5
format is compatible with the format from the Imported RSA keys to Amazon EC2 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/verify-keys.html)
Github
GitHub is used by default, for example in order to get all the fingerprints for user alice (https://github.com/alice.keys)
sh
ssh-vault f -u alice
Output
ID: 1 Type: ssh-ed25519 Comment:
SHA256:uXBBja4Vms3Z3uMUpuFke/nPM42I3r6wlI7C/5pxyGQ
ID: 2 Type: ssh-ed25519 Comment:
SHA256:hJIUuRZ7IM1PklRyR2zFVrSE8IVvD6d5kfpAQTyapYg
-u https
If you are using Gitlab, you can still get the keys for alice (https://gitlab.com/alice.keys):
sh
ssh-vault f -u https://gitlab.com/alice
Output
ID: 1 Type: ssh-rsa Comment: Jingu KIM (gitlab.com)
SHA256:HHlVvj4lvbOPucqPfAGhDMN6wRL+mlHJysjvqX8wz9w
MD5 00:1e:fb:a7:9b:11:8e:84:5c:d6:da:03:49:80:f5:4d
ID: 2 Type: ssh-rsa Comment: Jingu KIM (gitlab.com)
SHA256:8AW3urvZSgBeXrxzUpkTVyxMbGxd6sJabEjLqHxJ8iY
MD5 b0:78:58:ad:0d:d5:8d:87:c8:84:c1:90:13:d7:41:94