File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 11### Directions
22
33_ Issue tracker is for actionable bug reports, issues with the code and feature requests._
4- _ For general questions use the [ mail group] ( https://groups.google.com/forum/#!forum/ssh2-python ) ._
4+
5+ _ See [ Discussions] ( https://github.com/ParallelSSH/ssh2-python/discussions ) section for questions and discussions._
6+
57_ Remove this section and everything on and above this line._
68
79### Bug reports
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Packaging
1515
1616* Added Windows Python 3.7 and 3.13 wheel builds.
1717* Removed manylinux 2010 wheels.
18- * Wheel builds now use embedded libssh and zlib.
18+ * Wheel builds now use embedded libssh2 and zlib.
1919* Dockerfiles and scripts updates.
2020
21211.1.1
Original file line number Diff line number Diff line change @@ -42,6 +42,26 @@ Most developers will want to use the `high level clients <https://parallel-ssh.r
4242in `parallel-ssh <https://github.com/ParallelSSH/parallel-ssh >`_
4343based on this library.
4444
45+
46+ .. code-block :: shell
47+
48+ pip install parallel-ssh
49+
50+
51+ .. code-block :: python
52+
53+ from pssh.clients import SSHClient
54+
55+ host = ' localhost'
56+ cmd = ' uname'
57+ client = SSHClient(host)
58+
59+ host_out = client.run_command(cmd)
60+ for line in host_out.stdout:
61+ print (line)
62+ exit_code = host_out.exit_code
63+
64+
4565 This library provides bindings to the low-level libssh2 C-API. It is *not * high level, nor easy to use. A *lot * of code
4666would need to be written to use this library that is already provided by `parallel-ssh `.
4767
You can’t perform that action at this time.
0 commit comments