ó õùPc"@sKdZddlZejdFkr0edƒ‚ndZdZdZdGZd Zdd l m Z m Z dd l m Z mZmZmZmZdd lmZddlmZmZddlmZmZmZmZmZmZddlmZm Z m!Z!ddl"m#Z#ddl$m%Z%ddl&m'Z'm(Z(ddl)m*Z*m+Z+ddl,m-Z-ddl.m/Z/ddl0m1Z1ddl2m3Z3ddl4m5Z5ddl6m7Z7ddl8m9Z9ddl:m;Z;ddl<m=Z=m>Z>ddl?m@Z@ddlAmBZBdd lCmDZDxMeEƒjFƒD]<ZGeHeIeGƒeIƒsNeIeGƒjJd!kreJeG_KqqW[Gdd"lLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTdd#l&mUZUmVZVmWZWmXZXmYZYmZZZm[Z[m\Z\m]Z]d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEg"Z^dS(HsO I{Paramiko} (a combination of the esperanto words for "paranoid" and "friend") is a module for python 2.3 or greater that implements the SSH2 protocol for secure (encrypted and authenticated) connections to remote machines. Unlike SSL (aka TLS), the SSH2 protocol does not require hierarchical certificates signed by a powerful central authority. You may know SSH2 as the protocol that replaced C{telnet} and C{rsh} for secure access to remote shells, but the protocol also includes the ability to open arbitrary channels to remote services across an encrypted tunnel. (This is how C{sftp} works, for example.) The high-level client API starts with creation of an L{SSHClient} object. For more direct control, pass a socket (or socket-like object) to a L{Transport}, and use L{start_server } or L{start_client } to negoatite with the remote host as either a server or client. As a client, you are responsible for authenticating using a password or private key, and checking the server's host key. I{(Key signature and verification is done by paramiko, but you will need to provide private keys and check that the content of a public key matches what you expected to see.)} As a server, you are responsible for deciding which users, passwords, and keys to allow, and what kind of channels to allow. Once you have finished, either side may request flow-controlled L{Channel}s to the other side, which are python objects that act like sockets, but send and receive data over the encrypted session. Paramiko is written entirely in python (no C or platform-dependent code) and is released under the GNU Lesser General Public License (LGPL). Website: U{http://www.lag.net/paramiko/} @version: 1.7.7.1 (George) @author: Robey Pointer @contact: robeypointer@gmail.com @license: GNU Lesser General Public License (LGPL) iÿÿÿÿNis$You need python 2.2 for this module.s&Robey Pointer s 21 May 2011s1.7.7.1 (George)iis(GNU Lesser General Public License (LGPL)(tSecurityOptionst Transport(t SSHClienttMissingHostKeyPolicyt AutoAddPolicyt RejectPolicyt WarningPolicy(t AuthHandler(tChannelt ChannelFile(t SSHExceptiontPasswordRequiredExceptiontBadAuthenticationTypetChannelExceptiontBadHostKeyExceptiontAuthenticationException(tServerInterfacetSubsystemHandlertInteractiveQuery(tRSAKey(tDSSKey(t SFTPErrortBaseSFTP(tSFTPt SFTPClient(t SFTPServer(tSFTPAttributes(t SFTPHandle(tSFTPServerInterface(tSFTPFile(tMessage(t Packetizer(t BufferedFile(tAgenttAgentKey(tPKey(tHostKeys(t SSHConfigtclassobj(tAUTH_SUCCESSFULtAUTH_PARTIALLY_SUCCESSFULt AUTH_FAILEDtOPEN_SUCCEEDEDt'OPEN_FAILED_ADMINISTRATIVELY_PROHIBITEDtOPEN_FAILED_CONNECT_FAILEDt OPEN_FAILED_UNKNOWN_CHANNEL_TYPEtOPEN_FAILED_RESOURCE_SHORTAGE( tSFTP_OKtSFTP_EOFtSFTP_NO_SUCH_FILEtSFTP_PERMISSION_DENIEDt SFTP_FAILUREtSFTP_BAD_MESSAGEtSFTP_NO_CONNECTIONtSFTP_CONNECTION_LOSTtSFTP_OP_UNSUPPORTEDRRRRRRRRRR#RRRR RR R R RRRRRRRRRRR R!R"R$R%tutil(ii(iiii(_t__doc__tsyst version_infot RuntimeErrort __author__t__date__t __version__t__version_info__t __license__t transportRRtclientRRRRRt auth_handlerRtchannelRR t ssh_exceptionR R R R RRtserverRRRtrsakeyRtdsskeyRtsftpRRt sftp_clientRRt sftp_serverRt sftp_attrRt sftp_handleRtsftp_siRt sftp_fileRtmessageRtpacketRtfileR tagentR!R"tpkeyR#thostkeysR$tconfigR%tlocalstvaluestct issubclassttypet__name__t __module__tcommonR'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6R7t__all__(((s,..\python\site-packages\paramiko\__init__.pyt6sŒ (.*:@