This commit is contained in:
Joey Hess 2014-04-26 18:58:06 -04:00
parent 84a88aab9a
commit b188561ba2

View file

@ -13,7 +13,8 @@ can be pretty sure noone is sniffing the (localhost) connection.
## ssh-askpass approach ## ssh-askpass approach
* If ssh-askpass is in PATH, do nothing. (Unless webapp is run remotely.) * If ssh-askpass is in PATH, or `SSH_ASKPASS` is set, do nothing.
(Unless webapp is run remotely.)
* Otherwise, have the assistant set `SSH_ASKPASS` to a command that will * Otherwise, have the assistant set `SSH_ASKPASS` to a command that will
cause the webapp to read the password and forward it on. Also, set cause the webapp to read the password and forward it on. Also, set
DISPLAY to ensure that ssh runs the program. DISPLAY to ensure that ssh runs the program.