I am writing a script that attaches to several of our machines via SSH to check some usage stats.
Each time I do:
ssh -i ~/.ssh/ourkeyfile.pem user@host
I get the typical message:
Address X.X.X.X maps to somedomain.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Is there a commandline switch for ssh that lets me suppress this message from appearing in the output of my script?
Fix the reverse DNS entry (PTR record) and possibly the forward entry (A and AAAA records) for the host in question.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.