summaryrefslogtreecommitdiff
path: root/doc/design/assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-29 18:08:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-29 18:08:10 -0400
commitc963d19b6b3150de90783741514143c5145a28a9 (patch)
tree4a4c4d56356353af9c3c8d0a7e946e4c8df04f84 /doc/design/assistant
parente7bb1e85fbfa7b691ed4248cc0359a87cb2fb71e (diff)
support being run by ssh as ssh-askpass replacement
To use, set GIT_ANNEX_SSHASKPASS to point to a fifo or regular file (FIFO is better, avoids touching disk or multiple readers) that contains the password. Then set SSH_ASKPASS=git-annex, and when ssh runs it, it will tell ssh the password. This is not yet used..
Diffstat (limited to 'doc/design/assistant')
-rw-r--r--doc/design/assistant/sshpassword.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/design/assistant/sshpassword.mdwn b/doc/design/assistant/sshpassword.mdwn
index c44259865..0113144c5 100644
--- a/doc/design/assistant/sshpassword.mdwn
+++ b/doc/design/assistant/sshpassword.mdwn
@@ -41,7 +41,7 @@ which gets the password from the webapp, and outputs it to stdout.
Seems to call for the webapp and program to communicate over a local
socket (locked down so only user can access) or environment.
Environment is not as secure (easily snooped by root).
-Local socket probably won't work on Windows.
+Local socket probably won't work on Windows. Could just use a temp file.
Note that the webapp can probe to see if ssh needs a password, and can
prompt the user for it before running ssh and the ssh-askpass shim.