bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-10 04:56 UTC
[Bug 1429] New: ssh -q doesn't suppress all warning messages
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.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-10 05:05 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429 --- Comment #1 from leanne <njleanne at hotmail.com> 2008-01-10 16:05:43 --- Created an attachment (id=1440) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1440) a piece of code from sshd.c -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-10 05:06 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429 --- Comment #2 from leanne <njleanne at hotmail.com> 2008-01-10 16:06:16 --- Created an attachment (id=1441) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1441) a piece of code from sshd.c -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-10 05:07 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429
leanne <njleanne at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1441 is|0 |1
obsolete| |
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-15 03:22 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429
leanne <njleanne at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-15 05:50 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> 2008-01-15
16:50:29 ---
Why is this "critical"? If the messages are bugging you, you can
either set the IdentityFile to something else (eg /dev/null) or
redirect stderr to /dev/null "ssh -q 2>/dev/null foo bar".
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-15 07:18 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429 --- Comment #4 from leanne <njleanne at hotmail.com> 2008-01-15 18:18:55 --- (In reply to comment #3)> Why is this "critical"? If the messages are bugging you, you can > either set the IdentityFile to something else (eg /dev/null) or > redirect stderr to /dev/null "ssh -q 2>/dev/null foo bar".So should we revise the manual of ssh or just leave it there? for the manual of -q option conflicts with the output. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jan-19 19:14 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|HPPA |All
Status|NEW |RESOLVED
Resolution| |FIXED
Severity|critical |trivial
CC| |djm at mindrot.org
Blocks| |1353
--- Comment #5 from Damien Miller <djm at mindrot.org> 2008-01-20
06:14:29 ---
Manual revised - it now says "most" instead of "all".
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Mar-31 04:23 UTC
[Bug 1429] ssh -q doesn't suppress all warning messages
https://bugzilla.mindrot.org/show_bug.cgi?id=1429
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #6 from Damien Miller <djm at mindrot.org> 2008-03-31
15:23:39 ---
Fix shipped in 4.9/4.9p1 release.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.