summaryrefslogtreecommitdiff
path: root/doc/todo/ssh_special_remote.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-21 14:47:54 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-21 14:47:54 -0400
commit7d68300e7a0a4ba4e86f60e6f72b71b344c0027c (patch)
tree8629e77d01356e7dc4db9b2b3c370fbce205253b /doc/todo/ssh_special_remote.mdwn
parent0758615fce2cab8bd29cfff1a361af02df8c52e6 (diff)
idea
Diffstat (limited to 'doc/todo/ssh_special_remote.mdwn')
-rw-r--r--doc/todo/ssh_special_remote.mdwn30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/todo/ssh_special_remote.mdwn b/doc/todo/ssh_special_remote.mdwn
new file mode 100644
index 000000000..c48418b56
--- /dev/null
+++ b/doc/todo/ssh_special_remote.mdwn
@@ -0,0 +1,30 @@
+ssh:// remotes are not special remotes. Perhaps it would be useful to have
+a special remote that wraps a ssh:// remote? This would allow setting up a
+ssh:// remote that can be enabled using the webapp's normal UI for enabling
+special remotes.
+
+Enabling such a special remote would just make a regular git remote, so
+there would be no need to implement the methods to get/put data. (Although
+it might need to provide stubs to appease the compiler.)
+
+It could optionally embed the ssh private key into the git-annex branch as
+a credential, for when you want anyone who has access to the git repo to be
+able to use the (locked-down) git-annex-shell on that server.
+
+I am on the fence about whether this would be useful, and would appreciate
+use cases.
+
+---
+
+One use case I was thinking about was a LAN with a central server, with a
+shared account with a git-annex repository on it. But then I realized this
+wouldn't really help set up git-annex in that situation, most of the time,
+because new clients would have the central server added as their first
+remote.
+
+(It would help if one client paired with another new client, but
+that is unncessarily round-about most of the time.)
+
+It might help in a more complex situation, where the LAN is not the whole
+network an a client might come onto the LAN already knowing about the
+central server there. --[[Joey]]