The IgnoreRhosts parameter specifies thatrhosts andshosts files will not be used in RhostsRSAAuthentication or HostbasedAuthentication Setting this parameter forces users to enter a password when authenticating with SSH.
Solution
Edit the /etc/ssh/sshd_config file to set the IgnoreRhosts parameter to yes as follows: IgnoreRhosts yes