[Bug 391] New: ssh -n returning 255 status code

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 5 01:18:15 EST 2002


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

           Summary: ssh -n returning 255 status code
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: steve.ridgley at digitalrum.com


Using openSSH3.4p1 on Solaris8 , we are having problems with 'ssh -n' returning 
status code 255 (from echo $?).  We have some proprietary code executing ssh - 
n, and trapping the return status and aborting the script.

We have seen the thread on MARC realting to a similar problem in OpenSSH2.9p1 
that says it will be fixed in the future. Our sysadmin guys are reluctant to 
apply the suggested 2.9 patch to 3.4.

The command that 'succeeds' but returns 255:

/usr/local/bin/ssh -q -o BatchMode=yes <remotenode> -n -l 
<remoteusr> /usr/bin/true

Without the -n, 'echo $?' returns 0



------- 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