summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Kluyver <thomas@kluyver.me.uk>2018-07-12 22:13:39 +0200
committerThomas Kluyver <thomas@kluyver.me.uk>2018-07-12 22:13:39 +0200
commitfa756fbc95402ea565e17bc840bc868743dd191a (patch)
tree92c7268f7d22312dc908240f19533803fb2e74d7 /doc
parentf481dbd381afff3cc6121b1a20001672f4cb8624 (diff)
downloadpexpect-git-fa756fbc95402ea565e17bc840bc868743dd191a.tar.gz
Add note to pxssh doc inviting people to consider Paramiko
Diffstat (limited to 'doc')
-rw-r--r--doc/api/pxssh.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/pxssh.rst b/doc/api/pxssh.rst
index b947f4b..c9c80c6 100644
--- a/doc/api/pxssh.rst
+++ b/doc/api/pxssh.rst
@@ -1,6 +1,14 @@
pxssh - control an SSH session
==============================
+.. note::
+
+ *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 is a Python module which speaks the SSH protocol directly, so it
+ doesn't have the extra complexity of running a local subprocess.
+
.. automodule:: pexpect.pxssh
.. autoclass:: ExceptionPxssh