Revert "work around what is likely a bug in a new version of ssh"
This reverts commit f626d73442
.
Bug was fixed in -2 of debian package, and is fixed upstream
(unsure what upstream release specificically)
This commit is contained in:
parent
9b71f0f047
commit
27c4d5cd1b
1 changed files with 2 additions and 6 deletions
|
@ -315,14 +315,10 @@ setSshConfig sshdata config = do
|
|||
- to allow unMangleSshHostName to work. Any unusual characters in the
|
||||
- username or directory are url encoded, except using "." rather than "%"
|
||||
- (the latter has special meaning to ssh).
|
||||
-
|
||||
- The mangled hostname is lower-cased because openssh 6.5p1 does not work
|
||||
- if ssh config Host lines contain any upper-case.
|
||||
-}
|
||||
mangleSshHostName :: SshData -> String
|
||||
mangleSshHostName sshdata = map toLower $
|
||||
"git-annex-" ++ T.unpack (sshHostName sshdata)
|
||||
++ "-" ++ escape extra
|
||||
mangleSshHostName sshdata = "git-annex-" ++ T.unpack (sshHostName sshdata)
|
||||
++ "-" ++ escape extra
|
||||
where
|
||||
extra = intercalate "_" $ map T.unpack $ catMaybes
|
||||
[ sshUserName sshdata
|
||||
|
|
Loading…
Add table
Reference in a new issue