Parallel Ssh Versions Save

Asynchronous parallel SSH client library.

2.12.0

1 year ago

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

1 year ago

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.post2

1 year ago

2.11.0.post1

1 year ago

2.11.0

1 year ago

Changes

  • Updated minimum required versions for ssh2-python and ssh-python.

2.10.0

2 years ago

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

2 years ago

Fixes

  • Even more rare race condition would sometimes cause scp_send to write incomplete files - #337

2.9.0

2 years ago

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.

2.8.0

2 years ago

Changes

  • All clients now support private key data as bytes in pkey parameter for authentication from in-memory private key data - #317.
  • Parallel clients now read a provided private key path only once and use in-memory data for authentication to avoid reading same file multiple times, if a path is provided.

2.7.1

2 years ago

Fixes

  • copy_file performance would be abnormally low when copying plain text files - 100x performance increase. Binary file copying performance has also increased.