sshpass

Non-interactive SSH password authentication utility

brewmacoslinux
Try with needOr install directly
Source

About

Non-interactive SSH password auth

Commands

sshpass

Examples

SSH to a remote host with password authentication$ sshpass -p 'mypassword' ssh user@example.com
Copy files via SCP using password authentication$ sshpass -p 'mypassword' scp file.txt user@example.com:/remote/path/
Run remote command via SSH with password$ sshpass -p 'mypassword' ssh user@example.com 'ls -la /home'