When I build a new server, I collect the ssh key fingerprints from the console before my initial connections over the network using ssh. I'd like to be able to get the same out-of-band assurance when using salt.
With salt, when a new minion starts up it generates an RSA key and submits a request to the salt-master. I can use salt-key -p <newminion>
to see the entire key and compare that with the minion's /etc/salt/pki/minion/minion.pub
, but I'd rather use the shorter fingerprint that salt-key -f <newminion>
displays.
How can I get the minion to display its own key fingerprint? The minion doesn't have the salt-key
command ...