|
16 | 16 | # along with Paramiko; if not, write to the Free Software Foundation, Inc., |
17 | 17 | # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
18 | 18 |
|
19 | | -""" |
20 | | -Paramiko (a combination of the esperanto words for "paranoid" and "friend") |
21 | | -is a module for python 2.5 or greater that implements the SSH2 protocol for |
22 | | -secure (encrypted and authenticated) connections to remote machines. Unlike |
23 | | -SSL (aka TLS), the SSH2 protocol does not require hierarchical certificates |
24 | | -signed by a powerful central authority. You may know SSH2 as the protocol that |
25 | | -replaced ``telnet`` and ``rsh`` for secure access to remote shells, but the |
26 | | -protocol also includes the ability to open arbitrary channels to remote |
27 | | -services across an encrypted tunnel. (This is how ``sftp`` works, for example.) |
28 | | -
|
29 | | -The high-level client API starts with creation of an `.SSHClient` object. |
30 | | -For more direct control, pass a socket (or socket-like object) to a |
31 | | -`.Transport`, and use `start_server <.Transport.start_server>` or |
32 | | -`start_client <.Transport.start_client>` to negoatite |
33 | | -with the remote host as either a server or client. As a client, you are |
34 | | -responsible for authenticating using a password or private key, and checking |
35 | | -the server's host key. (Key signature and verification is done by paramiko, |
36 | | -but you will need to provide private keys and check that the content of a |
37 | | -public key matches what you expected to see.) As a server, you are |
38 | | -responsible for deciding which users, passwords, and keys to allow, and what |
39 | | -kind of channels to allow. |
40 | | -
|
41 | | -Once you have finished, either side may request flow-controlled `channels <Channel>` |
42 | | -to the other side, which are python objects that act like sockets, but send and |
43 | | -receive data over the encrypted session. |
44 | | -
|
45 | | -Paramiko is written entirely in python (no C or platform-dependent code) and is |
46 | | -released under the GNU Lesser General Public License (LGPL). |
47 | | -
|
48 | | -Website: https://github.com/paramiko/paramiko/ |
49 | | -""" |
50 | | - |
51 | 19 | import sys |
52 | 20 |
|
53 | 21 | if sys.version_info < (2, 5): |
|
0 commit comments