@@ -7544,16 +7544,17 @@ class SSHClientConnectionOptions(SSHConnectionOptions):
7544
7544
:param compression_algs: (optional)
7545
7545
A list of compression algorithms to use during the SSH handshake,
7546
7546
taken from :ref:`compression algorithms <CompressionAlgs>`, or
7547
- `None` to disable compression.
7547
+ `None` to disable compression. The client prefers to disable
7548
+ compression, but will enable it if the server requires it.
7548
7549
:param signature_algs: (optional)
7549
7550
A list of public key signature algorithms to use during the SSH
7550
7551
handshake, taken from :ref:`signature algorithms <SignatureAlgs>`.
7551
7552
:param rekey_bytes: (optional)
7552
7553
The number of bytes which can be sent before the SSH session
7553
- key is renegotiated. This defaults to 1 GB.
7554
+ key is renegotiated, defaulting to 1 GB.
7554
7555
:param rekey_seconds: (optional)
7555
7556
The maximum time in seconds before the SSH session key is
7556
- renegotiated. This defaults to 1 hour.
7557
+ renegotiated, defaulting to 1 hour.
7557
7558
:param connect_timeout: (optional)
7558
7559
The maximum time in seconds allowed to complete an outbound
7559
7560
SSH connection. This includes the time to establish the TCP
@@ -8289,26 +8290,28 @@ class SSHServerConnectionOptions(SSHConnectionOptions):
8289
8290
this server, defaulting to `'AsyncSSH'` and its version number.
8290
8291
:param kex_algs: (optional)
8291
8292
A list of allowed key exchange algorithms in the SSH handshake,
8292
- taken from :ref:`key exchange algorithms <KexAlgs>`
8293
+ taken from :ref:`key exchange algorithms <KexAlgs>`,
8293
8294
:param encryption_algs: (optional)
8294
8295
A list of encryption algorithms to use during the SSH handshake,
8295
- taken from :ref:`encryption algorithms <EncryptionAlgs>`
8296
+ taken from :ref:`encryption algorithms <EncryptionAlgs>`.
8296
8297
:param mac_algs: (optional)
8297
8298
A list of MAC algorithms to use during the SSH handshake, taken
8298
- from :ref:`MAC algorithms <MACAlgs>`
8299
+ from :ref:`MAC algorithms <MACAlgs>`.
8299
8300
:param compression_algs: (optional)
8300
8301
A list of compression algorithms to use during the SSH handshake,
8301
8302
taken from :ref:`compression algorithms <CompressionAlgs>`, or
8302
- `None` to disable compression
8303
+ `None` to disable compression. The server defaults to allowing
8304
+ either no compression or compression after auth, depending on
8305
+ what the client requests.
8303
8306
:param signature_algs: (optional)
8304
8307
A list of public key signature algorithms to use during the SSH
8305
- handshake, taken from :ref:`signature algorithms <SignatureAlgs>`
8308
+ handshake, taken from :ref:`signature algorithms <SignatureAlgs>`.
8306
8309
:param rekey_bytes: (optional)
8307
8310
The number of bytes which can be sent before the SSH session
8308
- key is renegotiated, defaulting to 1 GB
8311
+ key is renegotiated, defaulting to 1 GB.
8309
8312
:param rekey_seconds: (optional)
8310
8313
The maximum time in seconds before the SSH session key is
8311
- renegotiated, defaulting to 1 hour
8314
+ renegotiated, defaulting to 1 hour.
8312
8315
:param connect_timeout: (optional)
8313
8316
The maximum time in seconds allowed to complete an outbound
8314
8317
SSH connection. This includes the time to establish the TCP
@@ -8318,8 +8321,8 @@ class SSHServerConnectionOptions(SSHConnectionOptions):
8318
8321
and AsyncSSH's login timeout.
8319
8322
:param login_timeout: (optional)
8320
8323
The maximum time in seconds allowed for authentication to
8321
- complete, defaulting to 2 minutes. Setting this to 0
8322
- will disable the login timeout.
8324
+ complete, defaulting to 2 minutes. Setting this to 0 will
8325
+ disable the login timeout.
8323
8326
8324
8327
.. note:: This timeout only applies after the SSH TCP
8325
8328
connection is established. To set a timeout
0 commit comments