brew install sshpass
brew install http://git.io/sshpass.rb
Create a passowrd directory in the root directory to manage passwords, enter the plaintext password for vim testserver, and save
/usr/local/bin/sshpass -f ~/password/testserver ssh username@host