diff --git a/README.asciidoc b/README.asciidoc index e7e01c5..7bf24e0 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -71,3 +71,20 @@ SecurityKeyProvider /Users/[user]/.local/state/nix/profiles/profile/libexec/libs ---- Relaunch a shell, and you should be able to `ssh-add -K`. + +== Askpass support + +If you want to use an askpass program, you can simply modify the agent file by adding the following lines: + +[,plist] +---- +EnvironmentVariables + + SSH_ASKPASS + /usr/local/bin/ssh-askpass + DISPLAY + :0 + +---- + +Some `ssh-askpass` mac implementations will ask you to include their own agent to modify the SSH agent environment. This is not needed in this case as we have our agent we can directly modify (and that would not pickup the variables from the generic modification anyway).