Subject: bin/23109: ssh -v (debug1) io stats dead
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/09/2003 15:41:49
>Number:         23109
>Category:       bin
>Synopsis:       ssh -v (debug1) stats reading out as 0
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 09 05:42:00 UTC 2003
>Originator:     Geoff C. Wing
>Release:        NetBSD 1.6ZC (2003/10/09)
System: NetBSD 1.6ZC NetBSD 1.6ZC (G) #0: Thu Oct 9 11:01:40 EST 2003 i386
Architecture: i386
Machine: i386
	"ssh -v somehost" has somehow lost I/O traffic stats and reads stdin/stdout
	stats as zero.

	% ssh -v somehost
	% exit
	debug1: channel_free: channel 0: client-session, nchannels 1
	Connection to somehost closed.
	debug1: Transferred: stdin 0, stdout 0, stderr 29 bytes in 21.1 seconds
	debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1.4
	debug1: Exit status 0

	Given that typing "exit"<CR> is five bytes and display prompt
	and exit is > six bytes something fishy is going on.

	Compiled on i386 with gcc-3.3.1 (hope that's not a red herring)