Depending on the protocol version for SSH we need to set either ChallengeResponseAuthentication or KbdInteractiveAuthentication to "no". Prior to this change we only set ChallengeResponseAuthentication allowing password based login when the SSHv2 protocol is used. We now modify newer config files appropriately.