if you get a ‘ssh_askpass’ not found error, create this file in /usr/libexec/ssh-askpass and sudo chmod +x it afterwards:

# Script: ssh-askpass
# Author: Mark Carver
# Created: 2011-09-14
# Copyright (c) 2011 Beyond Eden Development, LLC. All rights reserved.

# A ssh-askpass command for Mac OS X
# Based from author: Joseph Mocker, Sun Microsystems

# To use this script:
#   Install this script running INSTALL as root
# If you plan on manually installing this script, please note that you will have
# to set the following variable for SSH to recognize where the script is located:
#   export SSH_ASKPASS="/path/to/ssh-askpass"

TEXT="$(whoami)'s password:";
IFS=$(printf "

CODE=(“on GetCurrentApp()”); CODE=(${CODE[*]} “tell application “System Events” to get short name of first process whose frontmost is true”); CODE=(${CODE[*]} “end GetCurrentApp”); CODE=(${CODE[*]} “tell application GetCurrentApp()”); CODE=(${CODE[*]} “activate”); CODE=(${CODE[*]} “display dialog “${@:-$TEXT}” default answer “” with title “${TITLE}” with icon caution with hidden answer”); CODE=(${CODE[*]} “text returned of result”); CODE=(${CODE[*]} “end tell”); SCRIPT=”/usr/bin/osascript” for LINE in ${CODE[*]}; do

SCRIPT=”${SCRIPT} -e $(printf “%q” “${LINE}”)”;

done; eval “${SCRIPT}”;



Return the html directory