Issue #2231093 by nitin.sareen.mca - Make sure there is new line before adding 'UseDNS no' in the sshd_config file.