Re: Can we disable SSH compression by default?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi Yegor,

The OpenSSH sources already disable SSH compression by default.

Look in myproposal.h for how KEX_DEFAULT_COMP is defined.

#define	KEX_DEFAULT_COMP "none,zlib@xxxxxxxxxxx"

Looking at a verbose connection:
  The client sends to the server "none,zlib@xxxxxxxxxxx,zlib"
  The server sends to the client "none,zlib@xxxxxxxxxxx,zlib"

The sshconnect2.c ammends the conversation to update the default based
on the 'compression' option ('ssh -C' or 'ssh -oCompression=yes' or in
the config file).

	-- Mark

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux