SSH key fingerprint

ssh-vault can be used to print the ssh key fingerprint compatible with the format that AWS uses.

To get the fingerprint for the key ~/.ssh/

$ ssh-vault -f

For example to get the fingerprint for user Bob this could be used:

$ ssh-vault -u bob -f

Using -u for remote server:

$ ssh-vault -u -f

Or for a key that locally stored:

$ ssh-vault -k /path/to/key -f

When using the option -u username if the user has multiple keys and the fingerprint for key 2 is required, this can be used:

$ ssh-vault -u bob -k 2 -f

Using a remote server and key numer 2:

$ ssh-vault -u -k 2 -f
comments powered by Disqus