Releases: ParallelSSH/parallel-ssh
Releases · ParallelSSH/parallel-ssh
2.14.0
Changes
- Handle disconnects better to allow for file descriptor reuse for both clients.
- Parallel clients no longer forcefully disconnect their clients at de-allocation -
now done by each individualSSHClient
instead when thatSSHClient
goes out of scope.
This allows reading of output and anything associated with output, exit codes et al,
to work as long as one of either the client or an associated output object is alive. SSHClient.disconnect
is now a no-op and deprecated - handled by object de-allocation.SSHClient.eagain
is now a public function - wrapper for polling socket and calling a given socket using function.SSHClient.eagain_write
is now a public function - wrapper for polling socket and calling a given socket using
write function.SSHClient
,TunnelServer
andLocalForwarder
now use their own gevent pools for greenlets spawned so they
are cleaned up correctly at shutdown.SSHClient.execute
is now deprecated in favour ofSSHClient.run_command
.
Fixes
- Forwarder threads used for proxies would not exit gracefully at interpreter shutdown, sometimes causing segfaults.
- Client, both parallel and single, going out of scope would cause reading output from existing output objects
to break - #274 - Explicitly calling
SSHClient.disconnect
would sometimes cause segfaults at interpreter shutdown. - Keepalives being configured on native client would keep client in scope forever.
2.13.0
Changes
- Minimum version updates for
ssh2-python
andssh-python
. - Added support for Python 3.12+, removed support for Python <3.8.
- Package tests under top level
tests
directory are now cross platform and may be run by vendors.
Project CI specific ntegration tests moved into their own space.
Fixes
- Calling
HostOutput.stdin.flush
with apssh.clients.ssh
client would raise exception.
2.13.0rc1: Upgrade (#398)
* Fixed issue with stdin flush for libssh clients * Updated changelog * Updated sshd template * Updated versioneer * Updated logging * Refactored tests, imports * Updated CI cfg * Updated docstrings * Updated imports * Updated readme * Prettify tests
2.12.0
Changes
- Added
alias
optional parameter toSSHClient
andHostConfig
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 runningrun_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 clienttimeout
setting was used - #344.
2.11.0.post2: Updated CI cfg (#352)
* Updated CI cfg
2.11.0.post1
Updated CI cfg (#351)