Steps
- Confirm the original user, port, key and known_hosts file and retain those connection options.
- Add -v and -E ssh-debug.log, retaining -o BatchMode=yes -o StrictHostKeyChecking=yes, and use true as the remote command.
- Identify connection, host verification, authentication or command failure from the log; record time and exit status.
Interpretation
Authentication rejection and connection closure are different evidence; neither automatically identifies a DNS fault.
Limits and next steps
Verify changed host keys through a trusted channel instead of deleting trust records. Redact identifying details and never share private keys.