| 1 |
==================================== |
| 2 |
Welcome to Paramiko's documentation! |
| 3 |
==================================== |
| 4 |
|
| 5 |
This site covers Paramiko's usage & API documentation. For basic info on what |
| 6 |
Paramiko is, including its public changelog & how the project is maintained, |
| 7 |
please see `the main project website <http://paramiko.org>`_. |
| 8 |
|
| 9 |
|
| 10 |
API documentation |
| 11 |
================= |
| 12 |
|
| 13 |
The high-level client API starts with creation of an `.SSHClient` object. For |
| 14 |
more direct control, pass a socket (or socket-like object) to a `.Transport`, |
| 15 |
and use `start_server <.Transport.start_server>` or `start_client |
| 16 |
<.Transport.start_client>` to negotiate with the remote host as either a server |
| 17 |
or client. |
| 18 |
|
| 19 |
As a client, you are responsible for authenticating using a password or private |
| 20 |
key, and checking the server's host key. (Key signature and verification is |
| 21 |
done by paramiko, but you will need to provide private keys and check that the |
| 22 |
content of a public key matches what you expected to see.) |
| 23 |
|
| 24 |
As a server, you are responsible for deciding which users, passwords, and keys |
| 25 |
to allow, and what kind of channels to allow. |
| 26 |
|
| 27 |
Once you have finished, either side may request flow-controlled `channels |
| 28 |
<.Channel>` to the other side, which are Python objects that act like sockets, |
| 29 |
but send and receive data over the encrypted session. |
| 30 |
|
| 31 |
For details, please see the following tables of contents (which are organized |
| 32 |
by area of interest.) |
| 33 |
|
| 34 |
|
| 35 |
Core SSH protocol classes |
| 36 |
------------------------- |
| 37 |
|
| 38 |
.. toctree:: |
| 39 |
api/channel |
| 40 |
api/client |
| 41 |
api/message |
| 42 |
api/packet |
| 43 |
api/transport |
| 44 |
|
| 45 |
|
| 46 |
Authentication & keys |
| 47 |
--------------------- |
| 48 |
|
| 49 |
.. toctree:: |
| 50 |
api/auth |
| 51 |
api/agent |
| 52 |
api/hostkeys |
| 53 |
api/keys |
| 54 |
|
| 55 |
|
| 56 |
Other primary functions |
| 57 |
----------------------- |
| 58 |
|
| 59 |
.. toctree:: |
| 60 |
api/config |
| 61 |
api/proxy |
| 62 |
api/server |
| 63 |
api/sftp |
| 64 |
|
| 65 |
|
| 66 |
Miscellany |
| 67 |
---------- |
| 68 |
|
| 69 |
.. toctree:: |
| 70 |
api/buffered_pipe |
| 71 |
api/file |
| 72 |
api/pipe |
| 73 |
api/ssh_exception |