[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-bugs
Subject:    [Bug 1261] Timed out command through ControlMaster yields 0 return
From:       bugzilla-daemon () mindrot ! org
Date:       2006-11-13 10:32:54
Message-ID: 20061113103254.1B71F69B41 () natsu ! mindrot ! org
[Download RAW message or body]

http://bugzilla.mindrot.org/show_bug.cgi?id=1261

           Summary: Timed out command through ControlMaster yields 0 return
                    value.
           Product: Portable OpenSSH
           Version: 4.4p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket@mindrot.org
        ReportedBy: frekko@gmail.com


Start a ControlMaster to some server like this:
ssh -xo ControlMaster=yes -o ServerAliveInterval=1 -o
ServerAliveCountMax=1 10.0.0.21 "while [ 1 ]; do sleep 10; done" 

Then start some other command through the ControlMaster like this:
ssh -xo ControlMaster=no -o ServerAliveInterval=1 -o
ServerAliveCountMax=1 10.0.0.21  "while [ 1 ]; do sleep 10; done"

Now pull the plug on the server (10.0.0.21 in this case).
Both clients quit after one second. However, the controlmaster client
will exit with exit status 255 while the other client exits with exitv
status 0. 

If I understand the man page correctly they should both have exited
with exit status 255.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic