📖 ~1 min read
Table of contents
Symptom & Impact
Clients see ‘REMOTE HOST IDENTIFICATION HAS CHANGED’ connecting to AIX 7.2.
Environment & Reproduction
Host key regenerated after sshd reinstall or fresh build from mksysb.
Root Cause Analysis
Client cached the previous host key in ~/.ssh/known_hosts.
Quick Triage
Confirm the AIX 7.2 host key with ssh-keygen -lf /etc/ssh/ssh_host_*.pub.
Step-by-Step Diagnosis
Compare with the client’s known_hosts entry for the host.

Solution – Primary Fix
Have the client remove the old entry with ssh-keygen -R HOSTNAME.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Distribute the new host key via configuration management or known_hosts pins.
Verification & Acceptance Criteria
ssh from the client succeeds without the host-changed warning.
Rollback Plan
If the key change was unintended, restore the previous ssh_host_* from backup.
Prevention & Hardening
Pin host keys via configuration management and rotate on a schedule.
Related Errors & Cross-Refs
Pairs with sshd refusing connections during MITM checks.
Related tutorial: View the step-by-step tutorial for aix-7.1.
View all aix-7.1 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM Docs: OpenSSH on AIX, host key management.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.