[Bug 369] New: Inconsistant exiit status from scp

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 25 04:05:54 EST 2002


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

           Summary: Inconsistant exiit status from scp
           Product: Portable OpenSSH
           Version: 3.0.2p1
          Platform: ix86
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scp
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: oberman at es.net


Teh man page states that scp returns 0 for success and >0 for failure. This is
non-standard.
Worse, it may return 0 after a failure.
scp -B bogus at system:file1 file1
If authentication fails, the string "Permision denied" is sent to STDERR, but
the status is 0, making this indistinguishable from success without an extra
check of
the test sent to STDERR.



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



More information about the openssh-unix-dev mailing list