Document askpass support
This commit is contained in:
parent
63a234a93a
commit
b30e6c681e
|
@ -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`.
|
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]
|
||||||
|
----
|
||||||
|
<key>EnvironmentVariables</key>
|
||||||
|
<dict>
|
||||||
|
<key>SSH_ASKPASS</key>
|
||||||
|
<string>/usr/local/bin/ssh-askpass</string>
|
||||||
|
<key>DISPLAY</key>
|
||||||
|
<string>:0</string>
|
||||||
|
</dict>
|
||||||
|
----
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user