Password authentication for SSH is often paired with OTP (by people who think that it's somehow more secure to force me to store two lots of credentials for convenience or non-interactive use than keys, and won't do Kerberos or certificate authN). There's a version of sshpass supporting that: https://github.com/dora38/sshpass