github-for-mac-issues
github-for-mac-issues copied to clipboard
ssh_askpass
I'm getting this when I try to sync a repo:
Any thoughts?
I was having this issue too. I resolved it by creating this ssh-askpass
script at /usr/libexec
. I tried this a few weeks ago without success. It may be working now because I installed SSH Agent. Hope this helps!
Content of script, for convenience:
#! /bin/sh
TITLE=${MACOS_ASKPASS_TITLE:-"SSH"}
DIALOG="display dialog \"$@\" default answer \"\" with title \"$TITLE\""
DIALOG="$DIALOG with icon caution with hidden answer"
result=`osascript -e 'tell application "Finder"' -e "activate" -e "$DIALOG" -e 'end tell'`
if [ "$result" = "" ]; then
exit 1
else
echo "$result" | sed -e 's/^text returned://' -e 's/, button returned:.*$//'
exit 0
fi
Thanks I'll check this out. How do you have SSH Agent running? Cause it's not able to run on Lion