bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-15 19:10 UTC
[Bug 1478] New: ssh -V sends output to stderr instead of stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=1478
Summary: ssh -V sends output to stderr instead of stdout
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.0p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: lars at umich.edu
The Version number is sent to stderr instead of stdout.
The behavior can be duplicated on several platforms:
OpenBSD 4.3 GENERIC.MP#0 amd64:
$ ssh -V >x 2>&1 ;echo ---;cat x;wc -l x
---
OpenSSH_5.0, OpenSSL 0.9.7j 04 May 2006
1 x
$ ssh -V > x;cat x;wc -l x
OpenSSH_5.0, OpenSSL 0.9.7j 04 May 2006
0 x
Linux 2.6.24-18-generic #1 SMP Wed May 28 19:28:38 UTC 2008 x86_64
$ ssh -V >x 2>&1 ;echo ---;cat x;wc -l x
---
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
1 x
$ ssh -V >x ;echo ---;cat x;wc -l x
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
---
0 x
OpenBSD 4.2 GENERIC#3 i386
$ ssh -V >x 2>&1 ;echo ---;cat x;wc -l x
---
OpenSSH_4.7, OpenSSL 0.9.7j 04 May 2006
1 x
$ ssh -V >x ;echo ---;cat x;wc -l x
OpenSSH_4.7, OpenSSL 0.9.7j 04 May 2006
---
0 x
Linux 2.6.21.3 #5 SMP Thu Feb 14 14:55:36 EST 2008 i686 GNU/Linux
$ ssh -V >x 2>&1 ;echo ---;cat x;wc -l x
---
OpenSSH_4.6p1-hpn12v17, OpenSSL 0.9.7d 17 Mar 2004
1 x
$ ssh -V > x ; echo --- ; cat x ; wc -l x
OpenSSH_4.6p1-hpn12v17, OpenSSL 0.9.7d 17 Mar 2004
---
0 x
OpenBSD 4.3 GENERIC#698 i386
$ ssh -V >x 2>&1 ;echo ---;cat x;wc -l x
---
OpenSSH_4.8, OpenSSL 0.9.7j 04 May 2006
1 x
--
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-Jun-25 05:29 UTC
[Bug 1478] ssh -V sends output to stderr instead of stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=1478
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2008-06-25
15:28:58 ---
I'm not sure why you consider this a bug. The man page documents
'-V'
as "displaying" the version number and doesn't make any statements
as
to which stdio channel it is sent.
--
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-Jul-22 02:25 UTC
[Bug 1478] ssh -V sends output to stderr instead of stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=1478
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> 2008-07-22
12:25:00 ---
Mass update RESOLVED->CLOSED after release of openssh-5.1
--
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-Jul-26 04:58 UTC
[Bug 1478] ssh -V sends output to stderr instead of stdout
https://bugzilla.mindrot.org/show_bug.cgi?id=1478
--- Comment #3 from Lars Nood?n <lars at umich.edu> 2008-07-26 14:58:09
---
Still seems to be present in v 5.1:
$ ssh -V > x;echo ---;cat x;wc -l x
OpenSSH_5.1, OpenSSL 0.9.7j 04 May 2006
---
0 x
$ ssh -V >x 2>&1 ;echo ---;cat x;wc -l x
---
OpenSSH_5.1, OpenSSL 0.9.7j 04 May 2006
1 x
$
--
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.
Possibly Parallel Threads
- [Bug 1477] New: ssh-keygen not reading stdin as expected
- OpenSSH_4.7p1, OpenSSL 0.9.8g Host Key Verification Failed
- 5.0 vs 5.1 remote command execution
- OpenSSH public key problem with Solaris 10 and LDAP users?
- ssh/sshd hang after "debug2: channel 0: open confirm rwindow 0 rmax 32768"