diff -ur openssh-3.4p1/channels.h openssh-3.4p1-local/channels.h
--- openssh-3.4p1/channels.h	Wed Jun 26 00:17:37 2002
+++ openssh-3.4p1-local/channels.h	Thu Jul  4 08:40:23 2002
@@ -113,7 +113,14 @@
 #define CHAN_EXTENDED_READ		1
 #define CHAN_EXTENDED_WRITE		2
 
-/* default window/packet sizes for tcp/x11-fwd-channel */
+/* default window/packet sizes for tty/tcp/x11-fwd-channel */
+
+/*
+ * Due to a bug in AIX 4.3.3 >= ML03 please restrict
+ * CHAN_TTY_WINDOW_DEFAULT to less than 16384 - LBB
+ */
+#define CHAN_TTY_PACKET_DEFAULT (2048)
+#define CHAN_TTY_WINDOW_DEFAULT (8192)
 #define CHAN_SES_PACKET_DEFAULT	(32*1024)
 #define CHAN_SES_WINDOW_DEFAULT	(4*CHAN_SES_PACKET_DEFAULT)
 #define CHAN_TCP_PACKET_DEFAULT	(32*1024)
diff -ur openssh-3.4p1/ssh.c openssh-3.4p1-local/ssh.c
--- openssh-3.4p1/ssh.c	Wed Jun 12 17:11:13 2002
+++ openssh-3.4p1-local/ssh.c	Wed Jul  3 13:59:18 2002
@@ -1102,11 +1102,12 @@
 	if (!isatty(err))
 		set_nonblock(err);
 
-	window = CHAN_SES_WINDOW_DEFAULT;
-	packetmax = CHAN_SES_PACKET_DEFAULT;
 	if (tty_flag) {
-		window >>= 1;
-		packetmax >>= 1;
+		window = CHAN_TTY_WINDOW_DEFAULT;
+		packetmax = CHAN_TTY_PACKET_DEFAULT;
+	} else {
+		window = CHAN_SES_WINDOW_DEFAULT;
+		packetmax = CHAN_SES_PACKET_DEFAULT;
 	}
 	c = channel_new(
 	    "session", SSH_CHANNEL_OPENING, in, out, err,
