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 0000000000..002f9d1151 --- /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..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. +"""]]