summaryrefslogtreecommitdiff
path: root/Remotes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remotes.hs')
-rw-r--r--Remotes.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remotes.hs b/Remotes.hs
index a7d6be67d..aeaa5874f 100644
--- a/Remotes.hs
+++ b/Remotes.hs
@@ -318,7 +318,7 @@ git_annex_shell r command params
| Git.repoIsSsh r = do
sshoptions <- repoConfig r "ssh-options" ""
return $ Just ("ssh", map Param (words sshoptions) ++
- [Param (Git.urlHostFull r), Param sshcmd])
+ [Param (Git.urlAuthority r), Param sshcmd])
| otherwise = return Nothing
where
dir = Git.workTree r