If your server does not allow key based login, you might need to enter password each time you want to ssh into.
ssh does not allow entering password into the command line.
There is a nifty tool to allow exactly that
$ sudo apt-get install sshpass $ sshpass -p your_password ssh user@hostname
brew install hudochenkov/sshpass/sshpass