webapp: When setting up authorized_keys, use GIT_ANNEX_SHELL_DIRECTORY.
This commit is contained in:
parent
bd230efa56
commit
0b8027e527
6 changed files with 26 additions and 21 deletions
|
@ -276,7 +276,7 @@ makeSsh' rsync setup sshdata keypair =
|
|||
, if rsync then Nothing else Just "git init --bare --shared"
|
||||
, if rsync then Nothing else Just "git annex init"
|
||||
, if needsPubKey sshdata
|
||||
then addAuthorizedKeysCommand (rsyncOnly sshdata) . sshPubKey <$> keypair
|
||||
then addAuthorizedKeysCommand (rsyncOnly sshdata) remotedir . sshPubKey <$> keypair
|
||||
else Nothing
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue