Bug 8720 - rsync -n -e ssh creates ssh tunnel which fails to close after command completes
Summary: rsync -n -e ssh creates ssh tunnel which fails to close after command completes
Status: RESOLVED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.8
Hardware: x64 Other
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 17:57 UTC by Loy Vandiver
Modified: 2013-06-02 22:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Loy Vandiver 2012-01-25 17:57:28 UTC
Multiple rsync commands with '-n' switch used for testing.  The ssh tunnel is created but fails to close once the command has completed.  Testing multiple times will leave runaway ssh tunnels between the initiating and receiving servers. Very costly on resources. 

rsync -n -e ssh -Ppuzq --stats --exclude-from=exclude.list --delete -r /directory/directory/directory/a*{,.vix} user@server:/remote/directory |mail -s RsyncComplete email@work.net &

rsync -n -e ..... &
Comment 1 Wayne Davison 2013-06-02 22:11:08 UTC
Sounds like an ssh bug to me.