...
Navigate to a folder where you want to keep the ssh-askpass repository. For example, your home directory:
Code Block $ cd ~
Using git pull down the repository locally
Code Block $ git clone https://github.com/theseal/ssh-askpass.git ssh-askpass
Note title Note 2 This will probably pop up requesting to install command line developer tools. Go ahead and install it.
Follow the Without Homebrew/MacPorts instructionsSet up environmental variables and :
Expand title Monterey users here Insert the following line after the SUDO_ASKPASS line in ssh-askpass.plist
Code Block launchctl setenv SSH_ASKPASS_REQUIRE prefer
Expand title Mojave users here Current version doesn't appear to work. You will need to revert to an older version of the applescript.
Code Block cd ssh-askpass git checkout -b v1.2.2 v1.2.2 <RUN THROUGH THE ORIGINAL STEPS BELOW> Reverting the git back to master: git checkout master git branch -d v1.2.2
Code Block $ cd ssh-askpass $ sudo cp ssh-askpass /usr/local/bin/ $ sudo cp ssh-askpass.plist ~/Library/LaunchAgents/ $ launchctl load -w ~/Library/LaunchAgents/ssh-askpass.plist
Note Nothing will happen here, continue onward to Usage
...