summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/mdwn2man1
-rw-r--r--doc/todo/add_sftp_backend.mdwn6
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/mdwn2man b/Build/mdwn2man
index 171218db0..32c4d4ac4 100755
--- a/Build/mdwn2man
+++ b/Build/mdwn2man
@@ -53,6 +53,7 @@ while (<>) {
else {
$inNAME=0;
}
+ s/\\"/\\\\"/g; # hack for git-annex-shell's quotes around SSH_ORIGINAL_COMMAND
print $_;
}
diff --git a/doc/todo/add_sftp_backend.mdwn b/doc/todo/add_sftp_backend.mdwn
index 386fec3c8..0874c729e 100644
--- a/doc/todo/add_sftp_backend.mdwn
+++ b/doc/todo/add_sftp_backend.mdwn
@@ -1,3 +1,9 @@
A sftp backend would be nice because gpg operations could be pipelined to the network transfer, not requiring the creation of a full file to disk with gpg before the network transmission, as it happens with rsync.
There should be some libraries that can handle the sftp connections and transfers. I read that even curl has support for that.
+
+> Another reason to build this is that sftp has a `SFTP_FXP_STAT`
+> that can get disk free space information. "echo df | sftp user@host"
+> exposes this, when available. Some sftp servers can be locked down
+> so that the user can't run git-annex on them, so that could be the only
+> way to get diskreserve working for such a remote. --[[Joey]]