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
Following worked for me
curl -O -L https://sourceforge.net/projects/sshpass/files/sshpass/1.06/sshpass-1.06.tar.gz && tar xvzf sshpass-1.06.tar.gz cd sshpass-1.06/ ./configure sudo make install