diff options
author | https://www.google.com/accounts/o8/id?id=AItOawkwjBDXkP9HAQKhjTgThGOxUa1B99y_WRA <Franck@web> | 2013-05-24 06:15:29 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-05-24 06:15:29 +0000 |
commit | fd4ef5853c959d1e3c073d12955c0c3ea36fa208 (patch) | |
tree | a9da3b2bf24d21a7842f4e0c2f84facdfdaba9ef | |
parent | e1c9d2447d95ce1d791ad58f516301724343545b (diff) |
-rw-r--r-- | doc/forum/Securing_a_shared_ssh_server.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/forum/Securing_a_shared_ssh_server.mdwn b/doc/forum/Securing_a_shared_ssh_server.mdwn new file mode 100644 index 000000000..3e0006cb3 --- /dev/null +++ b/doc/forum/Securing_a_shared_ssh_server.mdwn @@ -0,0 +1,3 @@ +Hi, I'd like to share files with friends, to do so we need a shared server to exchange the files. I could setup an ssh access on one of my servers but I don't want others to have a full access. I assume I can restrict this using a `command='wrapper-around-git'` prefix in `.ssh/authorized_keys`, where `wrapper-around-git` is simply a script that checks if `SSH_ORIGINAL_COMMAND` is an authorised command and runs it. This is exactly the approach used with Mercurial (hg-ssh) and presumably git also relies on this mechanism. + +But to do so, I need to know what commands can be executed over ssh when using git-annex assistant. Could you document about this? Thanks! |