I would like to automate ssh login from my mac.
It does have a simple solution:
sshpass -p my_password ssh m_username@hostname
but
Another option in 2020 is this homebrew tap, maintained by esolitos
brew install esolitos/ipa/sshpass