-
Notifications
You must be signed in to change notification settings - Fork 154
Releases: ParallelSSH/parallel-ssh
Releases · ParallelSSH/parallel-ssh
2.16.0.post1
2.16.0
@pkittenis
pkittenis
38d14ee
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
- Added
HostOutput.fully_qualified_commandfor a bytes-string of the fully qualified command executed on that host
after any and all host argument subtitutions, user switching, sudo, shell switching, encoding via specified encoding
et al. Populated on calls torun_commandonly.
Assets 2
1 person reacted
2.15.0
@pkittenis
pkittenis
8fa5a91
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
- Added compression support for all clients via
SSHClient(compress=True),ParallelSSHClient(compress=True)and
HostConfig(compress=True)- defaults to off. #252 - Added "keyboard interactive" login support for native clients. This is fully automated username and password
authentication via SSH's keyboard interactive authentication mechanism and does not actually require a human at the
keyboard. Used in cases where the server does not allow any other authentication mechanism.
Note that server configuration may disallow remote command execution viarun_commandwhen keyboard interactive
authentication is required - use interactive shells to run commands with in such cases. See
Interactive Shells <https://parallel-ssh.readthedocs.io/en/latest/advanced.html#running-commands-on-shells>_
documentation. Also supported viaHostConfigentries. Currently native clients only. - Added
pssh.exceptions.InvalidAPIUseErrorfor errors raised on client initialisation when an invalid API use is
detected. For example, keyboard interactive authentication enabled without a password provided. - Updated minimum
ssh2-pythonandssh-pythonrequirements.
Assets 2
1 person reacted
2.14.0
@pkittenis
pkittenis
987dd58
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 individualSSHClientinstead when thatSSHClientgoes 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.disconnectis now a no-op and deprecated - handled by object de-allocation.SSHClient.eagainis now a public function - wrapper for polling socket and calling a given socket using function.SSHClient.eagain_writeis now a public function - wrapper for polling socket and calling a given socket using
write function.SSHClient,TunnelServerandLocalForwardernow use their own gevent pools for greenlets spawned so they
are cleaned up correctly at shutdown.SSHClient.executeis 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.disconnectwould sometimes cause segfaults at interpreter shutdown. - Keepalives being configured on native client would keep client in scope forever.
Assets 2
2.13.0
@pkittenis
pkittenis
f1d46fc
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
- Minimum version updates for
ssh2-pythonandssh-python. - Added support for Python 3.12+, removed support for Python <3.8.
- Package tests under top level
testsdirectory are now cross platform and may be run by vendors.
Project CI specific ntegration tests moved into their own space.
Fixes
- Calling
HostOutput.stdin.flushwith apssh.clients.sshclient would raise exception.
Assets 2
1 person reacted
2.13.0rc1: Upgrade (#398)
@pkittenis
pkittenis
f1d46fc
This commit was created on GitHub.com and signed with GitHub’s verified signature.
2.13.0rc1: Upgrade (#398)
Pre-release
Pre-release
* 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
Assets 2
2.12.0
@pkittenis
pkittenis
d812ff3
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changes
- Added
aliasoptional parameter toSSHClientandHostConfigfor 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.joinwithout ever runningrun_commandwould raise exception. Is now a no-op.
Assets 2
2.11.1
@pkittenis
pkittenis
29d9497
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changes
- Updated default log formatter set by
pssh.utilsenable logger functions.
Fixes
- Using native clients under
pssh.clients.nativewith very short lived commands would sometimes cause unexpected
stalls/delays in reading output from completed commands when a clienttimeoutsetting was used - #344.