I get the impression that management crossed their wires somewhere and handed you contradictory requirements, because the utter futility of bruteforcing interactive plaintext passwords into an ssh key is quite glorious.
I would suggest ssh-agent instead. Type the password in securely and once, and your session will remember it for as long as it's open, without embedding the password in a script for everyone to read. Because this is using the system as it's intended to be used, you do not need to install the third-party brute-forcing utility expect to do so.