Parallel-ssh

Latest version: v2.12.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

2.12.0

+++++++

Changes
--------

* Added ``alias`` optional parameter to ``SSHClient`` and ``HostConfig`` for passing through from parallel clients.
Used to set an SSH host name alias, for cases where the real host name is the same and there is a need to
differentiate output from otherwise identical host names - 355. Thank you simonfelding.
* Parallel clients now read a common private key only once, reusing it for all clients it applies to,
to improve performance.
* Performance improvements for all clients when reading output.
* Output reading for all clients has been changed to be less prone to race conditions.

Fixes
------

* Calling ``ParallelSSHClient.join`` without ever running ``run_command`` would raise exception. Is now a no-op.

2.11.1

+++++++

Changes
--------

* Updated default log formatter set by `pssh.utils` enable logger functions.

Fixes
------

* Using native clients under `pssh.clients.native` with very short lived commands would sometimes cause unexpected
stalls/delays in reading output from completed commands when a client ``timeout`` setting was used - 344.

2.11.0

+++++++

Changes
--------

* Updated minimum required versions for `ssh2-python` and `ssh-python`.

2.10.0

++++++

Changes
-------

* All client configuration can now be provided via ``HostConfig`` on parallel clients.
* ``proxy_pkey`` can now also be provided as bytes for proxy authentication from in-memory private key data - 338
* Removed deprecated since ``2.0.0`` dictionary support for ``host_config`` entries.

2.9.1

+++++

Fixes
------

* Even more rare race condition would sometimes cause ``scp_send`` to write incomplete files - 337

2.9.0

+++++

Changes
--------

* ``pssh.exceptions.ConnectionError`` is now the same as built-in ``ConnectionError`` and deprecated - to be removed.
* Clients now attempt to connect with all addresses in DNS list. In the case where an address refuses connection,
other available addresses are attempted without delay.
For example where a host resolves to both IPv4 and v6 addresses while only one address is
accepting connections, or multiple v4/v6 addresses where only some are accepting connections.
* Connection actively refused error is no longer subject to retries.

Fixes
-----

* ``scp_send`` in native clients would sometimes fail to send all data in a race condition with client going out of scope.

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.