Verify the fingerprint automatically and replace the key, for example z/OS Tectia
SSH Server version 6.6.9:
ssh-broker-ctl probe-key --hostkey-fp=expected-fingerprint
\
--save-hostkey serverhost
The ssh-keyfetch tool can be used with Tectia SSH Server version 6.6.8 and below
on IBM z/OS.