aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-03-21 13:43:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-03-21 13:43:10 -0400
commitcf37fa599253631878fe1b5add5ed7be8ad62b6b (patch)
treeee1beaf6f744153ce5a66fd4093e86db0460ef69
parent85614fa80a8504390949b69993c200d017d3125e (diff)
comment
-rw-r--r--doc/bugs/cannot___40__or_how__63____41___to_pass_socket_path_with_a_space_in_its_path_via_annex-ssh-options/comment_1_d773dee03276e9b0e0b75d0709b76278._comment18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/cannot___40__or_how__63____41___to_pass_socket_path_with_a_space_in_its_path_via_annex-ssh-options/comment_1_d773dee03276e9b0e0b75d0709b76278._comment b/doc/bugs/cannot___40__or_how__63____41___to_pass_socket_path_with_a_space_in_its_path_via_annex-ssh-options/comment_1_d773dee03276e9b0e0b75d0709b76278._comment
new file mode 100644
index 000000000..002f9d115
--- /dev/null
+++ b/doc/bugs/cannot___40__or_how__63____41___to_pass_socket_path_with_a_space_in_its_path_via_annex-ssh-options/comment_1_d773dee03276e9b0e0b75d0709b76278._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-03-21T17:38:57Z"
+ content="""
+You can't accomplish this with `remote.<name>.annex-ssh-options`,
+since it is not exposed to the shell, and the parser just breaks it up into
+words.
+
+A smarter parser would be needed. Or you could configure it in
+~/.ssh/config, or perhaps make a ssh config file elsewhere and use
+annex-ssh-options to pass -F to ssh to make it use this other config file.
+
+Now that git-annex supports `GIT_SSH_COMMAND`, which is exposed to the
+shell, you should be able to accomplish it that way. I don't know if that
+would work in your use case, since the environment variable affects all ssh
+remotes, not just one.
+"""]]