Bug 346 - ssh fails with -C flag when connecting to a compression disabled server
Summary: ssh fails with -C flag when connecting to a compression disabled server
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-09 06:15 AEST by philip wall
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description philip wall 2002-07-09 06:15:26 AEST
If using ssh or scp with the following flags -C the process will die with
"no matching comp found: client zlib server none"
if the server has Compression disabled.
The output with -v is as follows.

OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to wildcard [10.0.1.2] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type 0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
no matching comp found: client zlib server none
debug1: Calling cleanup 0x80643e4(0x0)

Some older systems. Notably Linux with a 2.2 kernel cannot have Privledge User
support and Compression enabled at the same time. Atleast on my system it cannot.
Comment 1 Ben Lindstrom 2002-07-18 07:27:46 AEST
-C fails more gracefully in -cvs
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED