Run ssh with -T to avoid tty allocation and any login scripts that may do undesired things with it.
This commit is contained in:
parent
ff6ce2bc15
commit
974d075108
2 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,8 @@ sshParams (host, port) opts = go =<< sshInfo (host, port)
|
|||
liftIO $ createDirectoryIfMissing True $ parentDir socketfile
|
||||
lockFile $ socket2lock socketfile
|
||||
ret params
|
||||
ret ps = return $ ps ++ opts ++ portParams port ++ [Param host]
|
||||
ret ps = return $ ps ++ opts ++ portParams port ++
|
||||
[Param "-T", Param host]
|
||||
-- If the lock pool is empty, this is the first ssh of this
|
||||
-- run. There could be stale ssh connections hanging around
|
||||
-- from a previous git-annex run that was interrupted.
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -23,6 +23,8 @@ git-annex (4.20130228) UNRELEASED; urgency=low
|
|||
* Bugfix: If the UUID of a remote is not known, prevent --from, --to,
|
||||
and other ways of specifying remotes by name from selecting it,
|
||||
since it is not possible to sanely use it.
|
||||
* Run ssh with -T to avoid tty allocation and any login scripts that
|
||||
may do undesired things with it.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 27 Feb 2013 23:20:40 -0400
|
||||
|
||||
|
|
Loading…
Reference in a new issue