diff options
author | Red_M <1468433+Red-M@users.noreply.github.com> | 2019-07-07 22:09:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 22:09:23 +1000 |
commit | af9d9d91bb80d3c7783a0e6fe8d1bb67790e615a (patch) | |
tree | ba981ed6ccd008c191232a73087e6be2acb16fd9 | |
parent | 121ca37789bd22cadf2e6f7cf1ee78c5a458f217 (diff) | |
parent | c7d2da9ec4e88924bfc8909cb11a1d160b7b3328 (diff) | |
download | pexpect-af9d9d91bb80d3c7783a0e6fe8d1bb67790e615a.tar.gz |
Merge pull request #575 from Red-M/master
Add doc note about new expect based SSH automation library
-rw-r--r-- | doc/api/pxssh.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/api/pxssh.rst b/doc/api/pxssh.rst index c9c80c6..9ec42ba 100644 --- a/doc/api/pxssh.rst +++ b/doc/api/pxssh.rst @@ -5,9 +5,16 @@ pxssh - control an SSH session *pxssh* is a screen-scraping wrapper around the SSH command on your system. In many cases, you should consider using - `Paramiko <https://github.com/paramiko/paramiko>`_ instead. + `Paramiko <https://github.com/paramiko/paramiko>`_ or + `RedExpect <https://github.com/Red-M/RedExpect>`_ instead. Paramiko is a Python module which speaks the SSH protocol directly, so it doesn't have the extra complexity of running a local subprocess. + RedExpect is very similar to pxssh except that it reads and writes directly + into an SSH session all done via python with all the SSH protocol in C, + addtionally it is written for communicating to SSH servers that are not just + linux machines. Meaning that it is extremely fast in comparison to Paramiko + and already has the familiar expect API. In most cases RedExpect and pxssh + code should be fairly interchangable. .. automodule:: pexpect.pxssh |