When the key pair of an SSH server, that is, the keys at
/etc/ssh/ssh_host_(rsa|dsa|ecdsa|etc)_key
and at
/etc/ssh/ssh_host_(rsa|dsa|ecdsa|etc)_key.pub
are updated, the SSH users should be notified about the server's new public key.
Assuming having the email address as the public key comment for each user, is there a way to automatically notify every SSH user of the server key pair change?
Is there a tool that can do this or should I roll my own (shell|python|etc)
script?