https://github.com/markcarver/mac-ssh-askpass by Mark Carver
If you've gotten this error:
remote: ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
Then you probably need this script. Mac OS X does not prompt for a password outside of Terminal when connecting via SSH (for security reasons). This script grants any application the ability to prompt the user for a password via an AppleScript dialog.