[Bug 587] ssh returns non-zero return code but appears to work

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jun 5 07:01:07 EST 2003


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

           Summary: ssh returns non-zero return code but appears to work
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: jcanger at att.com


Code in question is a shell script which invokes ssh on a remote system. A 
non-zero (-1) return code results, however it appears the ssh does work. The 
function of the ssh is to kick off another shell script on a remote system which 
in turn invokes an scp on the originating system. The file that is requested by 
the scp is always present on the remote server. Finally, after several attempts, 
a zero return code is returned. I turned on verbose mode and compared the logged 
messages from a successful attempt against the logged messages from the failed 
attempts and saw no differences. What exactly  is the meaning of a -1 Exit 
Status?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list