openssh-2.3.0p1 (Linux) fails using options with dss key

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Thu Dec 7 07:29:49 EST 2000


On Wed, Dec 06, 2000 at 01:04:06PM +0000, Peter Lister wrote:
> FATAL: ssh_conn_received_packet: bad DISCONNECT

i can confirm this for SSH.COM/F-Secure versions
	2.0.12, 2.0.12, 2.1.0

However, the auth-options work fine for SSH.COM versions
	2.2.0, 2.3.0

the problem is that the SSH.COM client is confused if it receives
a DEBUG message during authentication.

could you please try this patch? it disables all DEBUG messages:

Index: packet.c
===================================================================
RCS file: /home/markus/cvs/ssh/packet.c,v
retrieving revision 1.38
diff -U10 -r1.38 packet.c
--- packet.c	2000/10/12 14:21:12	1.38
+++ packet.c	2000/12/06 20:20:04
@@ -1094,20 +1094,22 @@
  * authentication problems.   The length of the formatted message must not
  * exceed 1024 bytes.  This will automatically call packet_write_wait.
  */
 
 void
 packet_send_debug(const char *fmt,...)
 {
 	char buf[1024];
 	va_list args;
 
+return;
+
 	va_start(args, fmt);
 	vsnprintf(buf, sizeof(buf), fmt, args);
 	va_end(args);
 
 	if (compat20) {
 		packet_start(SSH2_MSG_DEBUG);
 		packet_put_char(0);	/* bool: always display */
 		packet_put_cstring(buf);
 		packet_put_cstring("");
 	} else {





More information about the openssh-unix-dev mailing list