Parallel-SSH Documentation
parallel-ssh is a non-blocking parallel SSH client library.
It provides clients based on C libraries with an easy to use Python API providing native code levels of performance and stability.
In a nutshell
Client will attempt to use all available keys under~/.ssh as well as any keys in an SSH agent, if one is available.
frompssh.clientsimportParallelSSHClientclient=ParallelSSHClient(['localhost','localhost'])output=client.run_command('uname')forhost_outinoutput:forlineinhost_out.stdout:print(line)exit_code=host_out.exit_code
- Output:
<Unameoutput><Unameoutput>
Single Host Client
Single host client is also available with similar API.
frompssh.clientsimportSSHClientclient=SSHClient('localhost')host_out=client.run_command('uname')forlineinhost_out.stdout:print(line)exit_code=host_out.exit_code
- Output:
<Unameoutput>
- Design And Goals
- Installation
- Quickstart
- Advanced Usage
- API Documentation
- Clients Feature Comparison
- Scaling
- Comparison With Alternatives
- Change Log
- 2.17.0 (unreleased)
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.11.0
- 2.10.0
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.2
- 1.11.0
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.5
- 1.5.4
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.0
- Upgrading to API 2.0