From c8c85cf7f1cfe9d3fc727ad59cea5ecb877e147f Mon Sep 17 00:00:00 2001 From: Red_M Date: Sun, 7 Jul 2019 20:47:10 +1000 Subject: Add doc note about RedExpect. --- doc/api/pxssh.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/api/pxssh.rst b/doc/api/pxssh.rst index c9c80c6..c9c9d82 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 `_ instead. + `Paramiko `_ or + `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 expect enviroment that you expect to have. In most cases + RedExpect and pxssh code should be fairly interchangable. .. automodule:: pexpect.pxssh -- cgit v1.2.1