[Bug 1429] New: ssh -q doesn't suppress all warning messages

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Jan 10 15:56:25 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1429

           Summary: ssh -q doesn't suppress all warning messages
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 4.7p1
          Platform: HPPA
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: njleanne at hotmail.com


Hi all,

One question, the ssh man page says the -q option suppress all warnings
and diagnostics. however, the following condition still has the warning
message appeared on the console:

#man ssh
..............
      -q   Quiet mode.  Causes all warning and diagnostic messages to
be
           suppressed.

..............


# ssh -q -i ~/.ssh/id_dsa_3 sshpa3 "uname -a"
Warning: Identity file //.ssh/id_dsa_3 not accessible: No such file or
directory.

I checked the source code that if we use "-q" option, we just set the
log level to QUIET, and the above warning message is printed from the
-i option
(pls see the attachment file)

Although the message appeared in the console says it's a warning, but
actually it’s an error, so should we revise the message to “Error:
Identity file….” Or change the man page of ssh –q option?

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list