SSHCompressionAlgorithms (property)

A comma-separated list containing all allowable compression algorithms.

Syntax

@property (nonatomic,readwrite,assign,getter=SSHCompressionAlgorithms,setter=setSSHCompressionAlgorithms:) NSString* SSHCompressionAlgorithms;
- (NSString*)SSHCompressionAlgorithms;
- (void)setSSHCompressionAlgorithms:(NSString*)newSSHCompressionAlgorithms;
public var SSHCompressionAlgorithms: String {
  get {...}
set {...} }

Default Value

"none,zlib"

Remarks

During the SSH handshake, this list will be used to negotiate the compression algorithm to be used between the client and server. This list is used for both directions: client to server and server to client. When negotiating algorithms, each side sends a list of all algorithms it supports or allows. The algorithm chosen for each direction is the first algorithm to appear in the sender's list that the receiver supports, so it is important to list multiple algorithms in preferential order. If no algorithm can be agreed upon, the class will raise an error and the connection will be aborted.

At least one supported algorithm must appear in this list. The following compression algorithms are supported by the class:

  • zlib
  • zlib@openssh.com
  • none

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 iOS Edition - Version 20.0 [Build 8501]