I have a key based login for a server. The IP and DNS of the server can change, because it is hosted on Amazon.
Is there a way to configure the ssh client config to use the specific key file for this server only, when the fingerprint of the server matches?
In other words: Normaly servers are matched by IP or DNS in the ssh client config. I want to do this by fingerprint, becaus IP and DNS can change.