Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: third_party/pexpect/doc/api/pxssh.rst

Issue 1398903002: Add third_party/pexpect (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@end-to-end-test
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pexpect/doc/api/popen_spawn.rst ('k') | third_party/pexpect/doc/api/replwrap.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pexpect/doc/api/pxssh.rst
diff --git a/third_party/pexpect/doc/api/pxssh.rst b/third_party/pexpect/doc/api/pxssh.rst
new file mode 100644
index 0000000000000000000000000000000000000000..b947f4b5ace580dd4dd9c888cb1cba85ce5773fa
--- /dev/null
+++ b/third_party/pexpect/doc/api/pxssh.rst
@@ -0,0 +1,34 @@
+pxssh - control an SSH session
+==============================
+
+.. automodule:: pexpect.pxssh
+
+.. autoclass:: ExceptionPxssh
+
+pxssh class
+-----------
+
+.. autoclass:: pxssh
+
+ .. automethod:: __init__
+
+ .. attribute:: PROMPT
+
+ The regex pattern to search for to find the prompt. If you call :meth:`login`
+ with ``auto_prompt_reset=False``, you must set this attribute manually.
+
+ .. attribute:: force_password
+
+ If this is set to True, public key authentication is disabled, forcing the
+ server to ask for a password. Note that the sysadmin can disable password
+ logins, in which case this won't work.
+
+ .. attribute:: options
+
+ The dictionary of user specified SSH options, eg, ``options = dict(StrictHostKeyChecking="no", UserKnownHostsFile="/dev/null")``
+
+ .. automethod:: login
+ .. automethod:: logout
+ .. automethod:: prompt
+ .. automethod:: sync_original_prompt
+ .. automethod:: set_unique_prompt
« no previous file with comments | « third_party/pexpect/doc/api/popen_spawn.rst ('k') | third_party/pexpect/doc/api/replwrap.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698