The sshpass utility is designed to run SSH using the keyboard-interactive password authentication mode, but in a non-interactive way.
SSH uses direct TTY access to ensure that the password is indeed issued by an interactive keyboard user. sshpass runs SSH in a dedicated TTY, fooling SSH into thinking it is getting the password from an interactive user.
If automation is needed when using SSH password authentication, then a sshpass can be used.
## Using a hidden password file and encrypting the password file with GPG
## when invoking the ssh, the .gpg file is decrypted and then piped to sshpass