OLD | NEW |
(Empty) | |
| 1 pxssh - control an SSH session |
| 2 ============================== |
| 3 |
| 4 .. automodule:: pexpect.pxssh |
| 5 |
| 6 .. autoclass:: ExceptionPxssh |
| 7 |
| 8 pxssh class |
| 9 ----------- |
| 10 |
| 11 .. autoclass:: pxssh |
| 12 |
| 13 .. automethod:: __init__ |
| 14 |
| 15 .. attribute:: PROMPT |
| 16 |
| 17 The regex pattern to search for to find the prompt. If you call :meth:`log
in` |
| 18 with ``auto_prompt_reset=False``, you must set this attribute manually. |
| 19 |
| 20 .. attribute:: force_password |
| 21 |
| 22 If this is set to True, public key authentication is disabled, forcing the |
| 23 server to ask for a password. Note that the sysadmin can disable password |
| 24 logins, in which case this won't work. |
| 25 |
| 26 .. attribute:: options |
| 27 |
| 28 The dictionary of user specified SSH options, eg, ``options = dict(StrictH
ostKeyChecking="no", UserKnownHostsFile="/dev/null")`` |
| 29 |
| 30 .. automethod:: login |
| 31 .. automethod:: logout |
| 32 .. automethod:: prompt |
| 33 .. automethod:: sync_original_prompt |
| 34 .. automethod:: set_unique_prompt |
OLD | NEW |