Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / paramiko / transport.pyc
Size: Mime:
ó
°‹EYc@sødZddlmZddlZddlZddlZddlZddlZddlZddl	m
Z
mZmZm
Z
ddlmZddlmZmZmZddlZddlmZddlmZdd	lmZdd
lmZddlmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFddlGmHZHmIZIdd
lJmKZKddlLmMZMddlNmOZOmPZPddlQmRZRddlSmTZTddlUmVZVmWZWmXZXddlYmZZZm[Z[m\Z\ddl]m^Z^ddl_m`Z`maZaddlbmcZcddldmeZemfZfmgZgmhZhmiZimjZjddlkmlZlddlmmnZnddlompZpddlqmrZrddlsmtZtmuZumvZvmwZwddlxmyZymzZzm{Z{gZ|d„Z}ddl~Z~e~je}ƒdej€ezfd „ƒYZd!e‚fd"„ƒYZƒd#e‚fd$„ƒYZ„dS(%s
Core protocol implementation
iÿÿÿÿ(tprint_functionN(tmd5tsha1tsha256tsha512(tdefault_backend(t
algorithmstCiphertmodes(tutil(tAuthHandler(tGSSAuth(tChannel(*t	xfffffffftcMSG_CHANNEL_OPENtcMSG_IGNOREtcMSG_GLOBAL_REQUESTtDEBUGtMSG_KEXINITt
MSG_IGNOREtMSG_DISCONNECTt	MSG_DEBUGtERRORtWARNINGtcMSG_UNIMPLEMENTEDtINFOtcMSG_KEXINITtcMSG_NEWKEYStMSG_NEWKEYStcMSG_REQUEST_SUCCESStcMSG_REQUEST_FAILUREtCONNECTION_FAILED_CODEt'OPEN_FAILED_ADMINISTRATIVELY_PROHIBITEDtOPEN_SUCCEEDEDtcMSG_CHANNEL_OPEN_FAILUREtcMSG_CHANNEL_OPEN_SUCCESStMSG_GLOBAL_REQUESTtMSG_REQUEST_SUCCESStMSG_REQUEST_FAILUREtMSG_CHANNEL_OPEN_SUCCESStMSG_CHANNEL_OPEN_FAILUREtMSG_CHANNEL_OPENtMSG_CHANNEL_SUCCESStMSG_CHANNEL_FAILUREtMSG_CHANNEL_DATAtMSG_CHANNEL_EXTENDED_DATAtMSG_CHANNEL_WINDOW_ADJUSTtMSG_CHANNEL_REQUESTtMSG_CHANNEL_EOFtMSG_CHANNEL_CLOSEtMIN_WINDOW_SIZEtMIN_PACKET_SIZEtMAX_WINDOW_SIZEtDEFAULT_WINDOW_SIZEtDEFAULT_MAX_PACKET_SIZE(tZlibCompressortZlibDecompressor(tDSSKey(t
Ed25519Key(tKexGextKexGexSHA256(t	KexGroup1(t
KexGroup14(tKexNistp256tKexNistp384tKexNistp521(t	KexGSSGextKexGSSGroup1t
KexGSSGroup14(tMessage(t
PacketizertNeedRekeyException(tModulusPack(tstring_typestlongtbyte_ordtbtinputtPY2(tRSAKey(tECDSAKey(tServerInterface(t
SFTPClient(tSSHExceptiontBadAuthenticationTypetChannelExceptiontProxyCommandFailure(tretry_on_signaltClosingContextManagertclamp_valuecCsxtD]}|jƒqWdS(N(t_active_threadststop_thread(tthr((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_join_lingering_threadsPs
t	Transportc	Bs·eZdZeƒZeƒZdZdejZ	dƒZ
d„Zd…Zd†Z
d‡Ziiejd6ejd 6d!d"6d!d#6d6iejd6ejd 6d!d"6d$d#6d6iejd6ejd 6d!d"6d%d#6d6iejd6ejd 6d&d"6d!d#6d	6iejd6ejd 6d!d"6d!d#6d6iejd6ejd 6d!d"6d$d#6d6iejd6ejd 6d!d"6d%d#6d6iejd6ejd 6d&d"6d$d#6d
6Ziied6d'd(6d
6ied6d)d(6d6ied6d%d(6d6ied6d*d(6d6ied6d!d(6d6ied6d)d(6d6Zied6ed6ed6ed6ed6ed6Z i
e!d6e"d6e#d6e$d6e%d+6e&d,6e'd-6e(d6e)d6e*d6Z+ie,e-fd.6e,e-fd/6d‰d6Z/dˆZ0d0Z1e2e3e4e5d1„Z6d2„Z7d3„Z8d4„Z9d5„Z:dˆdˆd6„Z;dˆdˆd7„Z<d8„Z=d9„Z>e?dˆd:„ƒZ@d;„ZAd<„ZBd=„ZCdˆdˆdˆd>„ZDdˆd?„ZEd@„ZFdA„ZGdˆdˆdˆdˆdˆdB„ZHdˆdC„ZIdD„ZJdE„ZKdˆdF„ZLdG„ZMdH„ZNdˆe5dI„ZOdˆdJ„ZPdˆdKdˆdˆdˆe4e4e5dL„ZQdM„ZRdN„ZSdO„ZTdP„ZUdQ„ZVdR„ZWdˆe5dS„ZXdˆdT„ZYdKdU„ZZdˆdKdV„Z[dW„Z\dX„Z]dY„Z^dZ„Z_d[„Z`d\„Zae5d]„Zbd^„Zcd_„Zdd`„Zeda„Zfdb„Zgdc„Zhdd„Zide„Zjdf„Zkdg„Zldh„Zmdi„Zndj„Zodk„Zpdl„Zqdm„Zrdn„Zsdo„Ztdp„Zudq„Zvdr„Zwds„Zxdt„Zydu„Zzdv„Z{dw„Z|dx„Z}dy„Z~dz„Zd{„Z€d|„Zd}„Z‚d~„Zƒd„Z„d€„Z…d„Z†d‚„Z‡ie~eˆ6e€e‰6eeŠ6e‚e‹6eƒeŒ6e„e6e…eŽ6ewe6Zie‘j’e“6e‘j”e•6e‘j–e—6e‘j˜e™6e‘jše›6e‘jœe6e‘jžeŸ6e‘j e¡6Z¢RS(Šs„
    An SSH Transport attaches to a stream (usually a socket), negotiates an
    encrypted session, authenticates, and then creates stream tunnels, called
    `channels <.Channel>`, across the session.  Multiple channels can be
    multiplexed across a single session (and often are, in the case of port
    forwardings).

    Instances of this class may be used as context managers.
    s2.0sparamiko_%ss
aes128-ctrs
aes192-ctrs
aes256-ctrs
aes128-cbcs
aes192-cbcs
aes256-cbcsblowfish-cbcs3des-cbcs
hmac-sha2-256s
hmac-sha2-512s	hmac-sha1shmac-md5shmac-sha1-96shmac-md5-96sssh-ed25519secdsa-sha2-nistp256secdsa-sha2-nistp384secdsa-sha2-nistp521sssh-rsasssh-dsssecdh-sha2-nistp256secdh-sha2-nistp384secdh-sha2-nistp521s$diffie-hellman-group-exchange-sha256s"diffie-hellman-group-exchange-sha1sdiffie-hellman-group14-sha1sdiffie-hellman-group1-sha1tnonetclasstmodeis
block-sizeskey-sizeii iitsizeii@s(gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==s)gss-group14-sha1-toWM5Slw5Ew8Mqkay+al2g==s%gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==szlib@openssh.comtzlibgš™™™™™¹?csët|_tˆtƒrlˆjddƒ}t|ƒdkrO|ddf‰ql|dt|dƒf‰ntˆƒtkrWˆ\‰‰d}t	j
ˆˆt	jt	jƒ}x¦|D]…\}	}
}}}
|
t	jkrµ|	}t	j	|t	jƒ‰yt
‡‡‡fd†ƒWn"t	jk
r5}t|ƒ}q:XPqµqµWtdˆ|fƒ‚ntjj|ƒ|jtƒˆ|_|jj|jƒtˆƒ|_d|jd	|j|_d
|_d
|_|_ d|_"|_#d|_$|_%d|_&|_'d|_(d|_)d|_*||_+t|_,d|_-d|_.|j+rit/d|ƒ|_-d|_0nd|_1d|_2d|_3t|_4t|_5t|_6tƒ|_7tj8ƒ|_9t:ƒ|_;i|_<i|_=d|_>||_?||_@d|_Ad|_Bd|_Cd|_DtjEƒ|_Ftj8ƒ|_Gd|_Hd|_ItJjK|jIƒ|_L|jjM|jLƒd|_Nd|_Od|_Pd|_Qd|_Rd|_St|_Td|_Ui|_Vg|_WtjX|j9ƒ|_Yi|_ZdS(s-
        Create a new SSH session over an existing socket, or socket-like
        object.  This only creates the `.Transport` object; it doesn't begin
        the SSH session yet.  Use `connect` or `start_client` to begin a client
        session, or `start_server` to begin a server session.

        If the object is not actually a socket, it must have the following
        methods:

        - ``send(str)``: Writes from 1 to ``len(str)`` bytes, and returns an
          int representing the number of bytes written.  Returns
          0 or raises ``EOFError`` if the stream has been closed.
        - ``recv(int)``: Reads from 1 to ``int`` bytes and returns them as a
          string.  Returns 0 or raises ``EOFError`` if the stream has been
          closed.
        - ``close()``: Closes the socket.
        - ``settimeout(n)``: Sets a (float) timeout on I/O operations.

        For ease of use, you may also pass in an address (as a tuple) or a host
        string as the ``sock`` argument.  (A host string is a hostname with an
        optional port (separated by ``":"``) which will be converted into a
        tuple of ``(hostname, port)``.)  A socket will be connected to this
        address and used for communication.  Exceptions from the ``socket``
        call may be thrown in this case.

        .. note::
            Modifying the the window and packet sizes might have adverse
            effects on your channels created from this transport. The default
            values are the same as in the OpenSSH code base and have been
            battle tested.

        :param socket sock:
            a socket or socket-like object to create the session over.
        :param int default_window_size:
            sets the default window size on the transport. (defaults to
            2097152)
        :param int default_max_packet_size:
            sets the default max packet size on the transport. (defaults to
            32768)

        .. versionchanged:: 1.15
            Added the ``default_window_size`` and ``default_max_packet_size``
            arguments.
        t:iiisNo suitable address familycsˆjˆˆfƒS(N(tconnect((thostnametporttsock(sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt<lambda>7ssUnable to connect to %s: %ssSSH-t-tsgssapi-keyexs%gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==s)gss-group14-sha1-toWM5Slw5Ew8Mqkay+al2g==s(gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==s"diffie-hellman-group-exchange-sha1sdiffie-hellman-group14-sha1sdiffie-hellman-group1-sha1g>@sparamiko.transportiiN(s%gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==s)gss-group14-sha1-toWM5Slw5Ew8Mqkay+al2g==s(gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==s"diffie-hellman-group-exchange-sha1sdiffie-hellman-group14-sha1sdiffie-hellman-group1-sha1([tFalsetactivet
isinstanceRItsplittlentintttypettupletsockettgetaddrinfot	AF_UNSPECtSOCK_STREAMRWterrortstrRSt	threadingtThreadt__init__t	setDaemontTrueRht
settimeoutt_active_check_timeoutRFt
packetizert	_PROTO_IDt
_CLIENT_IDt
local_versiontremote_versiontlocal_ciphert
remote_ciphertNonetlocal_kex_inittremote_kex_initt	local_mact
remote_mactlocal_compressiontremote_compressiont
session_idt
host_key_typethost_keytuse_gss_kextgss_kex_usedtkexgss_ctxttgss_hostRt_preferred_kext
kex_enginetHtKtinitial_kex_donetin_kext
authenticatedt_expected_packettLocktlockt
ChannelMapt	_channelstchannel_eventst
channels_seent_channel_countertdefault_max_packet_sizetdefault_window_sizet_forward_agent_handlert_x11_handlert_tcp_handlertsaved_exceptiontEventt
clear_to_sendtclear_to_send_locktclear_to_send_timeouttlog_nameR	t
get_loggertloggertset_logtauth_handlertglobal_responsetcompletion_eventtbanner_timeoutthandshake_timeouttauth_timeouttserver_modet
server_objecttserver_key_dicttserver_acceptst	Conditiontserver_accept_cvtsubsystem_table(tselfRhR¦R¥tgss_kextgss_deleg_credsthltreasont	addrinfostfamilytsocktypetprotot	canonnametsockaddrtafte((RfRgRhsG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR|ïs¨2	
																																					cCsÅdttt|ƒƒt@ƒ}|js6|d7}n|jdkrq|d|j|j|jddf7}n|jƒr—|dt|j	ƒ7}n |j
r­|d7}n
|d	7}|d
7}|S(sP
        Returns a string representation of this object, for debugging.
        s<paramiko.Transport at %ss (unconnected)Rks (cipher %s, %d bits)skey-sizeis (active; %d open channel(s))s (connected; awaiting auth)s
 (connecting)t>(thexRJtidR
RmR†t_cipher_infotis_authenticatedRpR¡Rš(RÀtout((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt__repr__•s 	
 	


cCs|jjƒ|jƒdS(s¦
        Terminate this Transport without closing the session.  On posix
        systems, if a Transport is open during process forking, both parent
        and child will share the underlying socket, but only one process can
        use the connection (without corrupting the session).  Use this method
        to clean up a Transport object without disrupting the other process.

        .. versionadded:: 1.5.3
        N(Rhtclose(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytatfork«s

cCs
t|ƒS(s
        Return a `.SecurityOptions` object which can be used to tweak the
        encryption algorithms this transport will permit (for encryption,
        digest/hash operations, public keys, and key exchanges) and the order
        of preference for them.
        (tSecurityOptions(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytget_security_options¸scCstj|ƒ|_dS(sß
        Setter for C{gss_host} if GSS-API Key Exchange is performed.

        :param str gss_host: The targets name in the kerberos database
                             Default: The name of the host to connect to
        N(RttgetfqdnR•(RÀR•((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytset_gss_hostÁscCsðt|_|dk	r,||_|jƒdStjƒ|_}|jƒ|dk	retjƒ|nd}x~trë|jdƒ|jsº|j	ƒ}|dk	r«|‚nt
dƒ‚n|jƒsä|dk	rntjƒ|krnPqnqnWdS(s|
        Negotiate a new SSH2 session as a client.  This is the first step after
        creating a new `.Transport`.  A separate thread is created for protocol
        negotiation.

        If an event is passed in, this method returns immediately.  When
        negotiation is done (successful or not), the given ``Event`` will
        be triggered.  On failure, `is_active` will return ``False``.

        (Since 1.4) If ``event`` is ``None``, this method will not return until
        negotiation is done.  On success, the method returns normally.
        Otherwise an SSHException is raised.

        After a successful negotiation, you will usually want to authenticate,
        calling `auth_password <Transport.auth_password>` or
        `auth_publickey <Transport.auth_publickey>`.

        .. note:: `connect` is a simpler method for connecting as a client.

        .. note::
            After calling this method (or `start_server` or `connect`), you
            should no longer directly read from or write to the original socket
            object.

        :param .threading.Event event:
            an event to trigger when negotiation is complete (optional)

        :param float timeout:
            a timeout, in seconds, for SSH2 session negotiation (optional)

        :raises:
            `.SSHException` -- if negotiation fails (and no ``event`` was
            passed in)
        Ngš™™™™™¹?sNegotiation failed.(R~RmRˆRµtstartRzR«ttimetwaitt
get_exceptionRStis_set(RÀteventttimeouttmax_timeRÌ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytstart_clientËs$#		

"	
		cCsÚ|dkrtƒ}nt|_||_t|_|dk	rV||_|jƒdStj	ƒ|_}|jƒx`trÕ|j
dƒ|jsÂ|jƒ}|dk	r³|‚ntdƒ‚n|j
ƒrvPqvqvWdS(sp
        Negotiate a new SSH2 session as a server.  This is the first step after
        creating a new `.Transport` and setting up your server host key(s).  A
        separate thread is created for protocol negotiation.

        If an event is passed in, this method returns immediately.  When
        negotiation is done (successful or not), the given ``Event`` will
        be triggered.  On failure, `is_active` will return ``False``.

        (Since 1.4) If ``event`` is ``None``, this method will not return until
        negotiation is done.  On success, the method returns normally.
        Otherwise an SSHException is raised.

        After a successful negotiation, the client will need to authenticate.
        Override the methods `get_allowed_auths
        <.ServerInterface.get_allowed_auths>`, `check_auth_none
        <.ServerInterface.check_auth_none>`, `check_auth_password
        <.ServerInterface.check_auth_password>`, and `check_auth_publickey
        <.ServerInterface.check_auth_publickey>` in the given ``server`` object
        to control the authentication process.

        After a successful authentication, the client should request to open a
        channel.  Override `check_channel_request
        <.ServerInterface.check_channel_request>` in the given ``server``
        object to allow channels to be opened.

        .. note::
            After calling this method (or `start_client` or `connect`), you
            should no longer directly read from or write to the original socket
            object.

        :param .threading.Event event:
            an event to trigger when negotiation is complete.
        :param .ServerInterface server:
            an object used to perform authentication and create `channels
            <.Channel>`

        :raises:
            `.SSHException` -- if negotiation fails (and no ``event`` was
            passed in)
        Ngš™™™™™¹?sNegotiation failed.(RˆRQR~R¹RºRmRµRÚRzR«RÜRÝRSRÞ(RÀRßtserverRÌ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytstart_servers(*				

	
		cCs||j|jƒ<dS(s
        Add a host key to the list of keys used for server mode.  When behaving
        as a server, the host key is used to sign certain packets during the
        SSH2 negotiation, so that the client can trust that we are who we say
        we are.  Because this is used for signing, the key must contain private
        key info, not just the public half.  Only one key of each type (RSA or
        DSS) is kept.

        :param .PKey key:
            the host key to add, usually an `.RSAKey` or `.DSSKey`.
        N(R»tget_name(RÀtkey((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytadd_server_keyHscCs*y|j|jSWntk
r%nXdS(sê
        Return the active host key, in server mode.  After negotiating with the
        client, this method will return the negotiated host key.  If only one
        type of host key was set with `add_server_key`, that's the only key
        that will ever be returned.  But in cases where you have set more than
        one type of host key (for example, an RSA key and a DSS key), the key
        type will be negotiated by the client, and this method will return the
        key of the type agreed on.  If the host key has not been negotiated
        yet, ``None`` is returned.  In client mode, the behavior is undefined.

        :return:
            host key (`.PKey`) of the type negotiated by the client, or
            ``None``.
        N(R»RtKeyErrorRˆ(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytget_server_keyVs

cCstƒt_ddg}|dk	r7|jd|ƒnx:|D]2}ytjj|ƒtSWq>tk
roq>Xq>Wdt_tS(s—
        (optional)
        Load a file of prime moduli for use in doing group-exchange key
        negotiation in server mode.  It's a rather obscure option and can be
        safely ignored.

        In server mode, the remote client may request "group-exchange" key
        negotiation, which asks the server to send a random prime number that
        fits certain criteria.  These primes are pretty difficult to compute,
        so they can't be generated on demand.  But many systems contain a file
        of suitable primes (usually named something like ``/etc/ssh/moduli``).
        If you call `load_server_moduli` and it returns ``True``, then this
        file of primes has been loaded and we will support "group-exchange" in
        server mode.  Otherwise server mode will just claim that it doesn't
        support that method of key negotiation.

        :param str filename:
            optional path to the moduli file, if you happen to know that it's
            not in a standard location.
        :return:
            True if a moduli file was successfully loaded; False otherwise.

        .. note:: This has no effect when used in client mode.
        s/etc/ssh/modulis/usr/local/etc/moduliiN(	RHR^t
_modulus_packRˆtinsertt	read_fileR~tIOErrorRl(tfilenamet	file_listtfn((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytload_server_moduliks

	cCsR|js
dS|jƒx't|jjƒƒD]}|jƒq-W|jjƒdS(sP
        Close this session, and any open channels that are tied to it.
        N(RmR[tlistR¡tvaluest_unlinkRhRÔ(RÀtchan((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRԔs	
cCs*|js|jr#tdƒ‚n|jS(s´
        Return the host key of the server (in client mode).

        .. note::
            Previously this call returned a tuple of ``(key type, key
            string)``. You can get the same effect by calling `.PKey.get_name`
            for the key type, and ``str(key)`` for the key string.

        :raises: `.SSHException` -- if no session is currently active.

        :return: public key (`.PKey`) of the remote server
        sNo existing session(RmRšRSR‘(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytget_remote_server_keyŸs
cCs|jS(s´
        Return true if this session is active (open).

        :return:
            True if the session is still active (open); False if the session is
            closed
        (Rm(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt	is_active°scCs|jdd|d|d|ƒS(s¥
        Request a new channel to the server, of type ``"session"``.  This is
        just an alias for calling `open_channel` with an argument of
        ``"session"``.

        .. note:: Modifying the the window and packet sizes might have adverse
            effects on the session created. The default values are the same
            as in the OpenSSH code base and have been battle tested.

        :param int window_size:
            optional window size for this session.
        :param int max_packet_size:
            optional max packet size for this session.

        :return: a new `.Channel`

        :raises:
            `.SSHException` -- if the request is rejected or the session ends
            prematurely

        .. versionchanged:: 1.13.4/1.14.3/1.15.3
            Added the ``timeout`` argument.
        .. versionchanged:: 1.15
            Added the ``window_size`` and ``max_packet_size`` arguments.
        tsessiontwindow_sizetmax_packet_sizeRà(topen_channel(RÀRùRúRà((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytopen_sessionºscCs|jdd|ƒS(sÁ
        Request a new channel to the client, of type ``"x11"``.  This
        is just an alias for ``open_channel('x11', src_addr=src_addr)``.

        :param tuple src_addr:
            the source address (``(str, int)``) of the x11 server (port is the
            x11 port, ie. 6010)
        :return: a new `.Channel`

        :raises:
            `.SSHException` -- if the request is rejected or the session ends
            prematurely
        tx11tsrc_addr(Rû(RÀRþ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytopen_x11_channelÞscCs
|jdƒS(sB
        Request a new channel to the client, of type
        ``"auth-agent@openssh.com"``.

        This is just an alias for ``open_channel('auth-agent@openssh.com')``.

        :return: a new `.Channel`

        :raises: `.SSHException` --
            if the request is rejected or the session ends prematurely
        sauth-agent@openssh.com(Rû(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytopen_forward_agent_channelîscCs|jd||ƒS(sC
        Request a new channel back to the client, of type ``forwarded-tcpip``.

        This is used after a client has requested port forwarding, for sending
        incoming connections back to the client.

        :param src_addr: originator's address
        :param dest_addr: local (server) connected address
        sforwarded-tcpip(Rû(RÀRþt	dest_addr((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytopen_forwarded_tcpip_channelüs
c
Csª|jstdƒ‚n|dkr*dn|}|jjƒzh|j|ƒ}|j|ƒ}|jƒ}tƒ}|j	t
ƒ|j|ƒ|j|ƒ|j|ƒ|j|ƒ|dksÌ|dkr|j|dƒ|j|dƒ|j|dƒ|j|dƒn1|dkrD|j|dƒ|j|dƒnt
|ƒ}	|jj||	ƒtjƒ|j|<}
t|j|<|	j|ƒ|	j||ƒWd|jjƒX|j|ƒtjƒ}x…trV|
jd	ƒ|js|jƒ}|dkrtd
ƒ}n|‚n|
jƒr.PqÒ||tjƒkrÒtdƒ‚qÒqÒW|jj|ƒ}	|	dk	ry|	S|jƒ}|dkr td
ƒ}n|‚dS(ss
        Request a new channel to the server. `Channels <.Channel>` are
        socket-like objects used for the actual transfer of data across the
        session. You may only request a channel after negotiating encryption
        (using `connect` or `start_client`) and authenticating.

        .. note:: Modifying the the window and packet sizes might have adverse
            effects on the channel created. The default values are the same
            as in the OpenSSH code base and have been battle tested.

        :param str kind:
            the kind of channel requested (usually ``"session"``,
            ``"forwarded-tcpip"``, ``"direct-tcpip"``, or ``"x11"``)
        :param tuple dest_addr:
            the destination address (address + port tuple) of this port
            forwarding, if ``kind`` is ``"forwarded-tcpip"`` or
            ``"direct-tcpip"`` (ignored for other channel types)
        :param src_addr: the source address of this port forwarding, if
            ``kind`` is ``"forwarded-tcpip"``, ``"direct-tcpip"``, or ``"x11"``
        :param int window_size:
            optional window size for this session.
        :param int max_packet_size:
            optional max packet size for this session.
        :param float timeout:
            optional timeout opening a channel, default 3600s (1h)

        :return: a new `.Channel` on success

        :raises:
            `.SSHException` -- if the request is rejected, the session ends
            prematurely or there is a timeout openning a channel

        .. versionchanged:: 1.15
            Added the ``window_size`` and ``max_packet_size`` arguments.
        sSSH session not activeisforwarded-tcpipsdirect-tcpipiiRýNgš™™™™™¹?sUnable to open channel.sTimeout openning channel.(RmRSRˆRŸtacquiret_sanitize_window_sizet_sanitize_packet_sizet
_next_channelREtadd_byteRt
add_stringtadd_intRR¡tputRzR«R¢R~R£t_set_transportt_set_windowtreleaset_send_user_messageRÛRÜRÝRÞtget(
RÀtkindRRþRùRúRàtchanidtmRõRßtstart_tsRÌ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRûsb*	
	







	
		cs©ˆjstdƒ‚nt|ƒ}ˆjd||fdtƒ}|dkr]tdƒ‚n|dkrx|jƒ}n|dkrœ‡fd†}|}n|ˆ_|S(s¾
        Ask the server to forward TCP connections from a listening port on
        the server, across this SSH session.

        If a handler is given, that handler is called from a different thread
        whenever a forwarded connection arrives.  The handler parameters are::

            handler(
                channel,
                (origin_addr, origin_port),
                (server_addr, server_port),
            )

        where ``server_addr`` and ``server_port`` are the address and port that
        the server was listening on.

        If no handler is set, the default behavior is to send new incoming
        forwarded connections into the accept queue, to be picked up via
        `accept`.

        :param str address: the address to bind when forwarding
        :param int port:
            the port to forward, or 0 to ask the server to allocate any port
        :param callable handler:
            optional handler for incoming forwarded connections, of the form
            ``func(Channel, (str, int), (str, int))``.

        :return: the port number (`int`) allocated by the server

        :raises:
            `.SSHException` -- if the server refused the TCP forward request
        sSSH session not actives
tcpip-forwardRÜsTCP forwarding request deniedicsˆj|ƒdS(N(t_queue_incoming_channel(tchannelRþtdest_addr_port(RÀ(sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytdefault_handler‘sN(RmRSRqtglobal_requestR~Rˆtget_intR©(RÀtaddressRgthandlertresponseR((RÀsG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytrequest_port_forwardes!			cCs6|js
dSd|_|jd||fdtƒdS(s.
        Ask the server to cancel a previous port-forwarding request.  No more
        connections to the given address & port will be forwarded across this
        ssh connection.

        :param str address: the address to stop forwarding
        :param int port: the port to stop forwarding
        Nscancel-tcpip-forwardRÜ(RmRˆR©RR~(RÀRRg((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytcancel_port_forward™s			cCs
tj|ƒS(sE
        Create an SFTP client channel from an open transport.  On success, an
        SFTP session will be opened with the remote host, and a new
        `.SFTPClient` object will be returned.

        :return:
            a new `.SFTPClient` referring to an sftp session (channel) across
            this transport
        (RRtfrom_transport(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytopen_sftp_client§s
cCsitƒ}|jtƒ|dkrBttjdƒƒdd}n|jtj|ƒƒ|j|ƒdS(s±
        Send a junk packet across the encrypted link.  This is sometimes used
        to add "noise" to a connection to confuse would-be attackers.  It can
        also be used as a keep-alive for long lived connections traversing
        firewalls.

        :param int byte_count:
            the number of random bytes to send in the payload of the ignored
            packet -- defaults to a random number from 10 to 41.
        ii i
N(	RERRRˆRKtosturandomt	add_bytesR(RÀt
byte_countR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytsend_ignore³s	
 cCs†tjƒ|_|jƒxftr|jjdƒ|jsk|jƒ}|dk	r\|‚nt	dƒ‚n|jj
ƒrPqqWdS(sK
        Force this session to switch to new keys.  Normally this is done
        automatically after the session hits a certain number of packets or
        bytes sent or received, but this method gives you the option of forcing
        new keys whenever you want.  Negotiating new keys causes a pause in
        traffic both ways as the two sides swap keys and do computations.  This
        method returns when the session has switched to new keys.

        :raises:
            `.SSHException` -- if the key renegotiation failed (which causes
            the session to end)
        gš™™™™™¹?sNegotiation failed.N(RzR«Rµt_send_kex_initR~RÜRmRÝRˆRSRÞ(RÀRÌ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytrenegotiate_keysÅs

			cCs,tj|ƒd„}|jj||ƒdS(sÄ
        Turn on/off keepalive packets (default is off).  If this is set, after
        ``interval`` seconds without sending any data over the connection, a
        "keepalive" packet will be sent (and ignored by the remote host).  This
        can be useful to keep connections alive over a NAT, for example.

        :param int interval:
            seconds to wait before sending a keepalive packet (or
            0 to disable keepalives).
        cSs|jddtƒS(Nskeepalive@lag.netRÜ(RRl(tx((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_requestêsN(tweakreftproxyRt
set_keepalive(RÀtintervalR)((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR,ßscCsÓ|rtjƒ|_ntƒ}|jtƒ|j|ƒ|j|ƒ|dk	rd|j	|Œn|j
td|ƒ|j|ƒ|sdSx:t
rË|jjdƒ|jsµdS|jjƒr’Pq’q’W|jS(sŒ
        Make a global request to the remote host.  These are normally
        extensions to the SSH2 protocol.

        :param str kind: name of the request.
        :param tuple data:
            an optional tuple containing additional data to attach to the
            request.
        :param bool wait:
            ``True`` if this method should not return until a response is
            received; ``False`` otherwise.
        :return:
            a `.Message` containing possible additional data if the request was
            successful (or an empty `.Message` if ``wait`` was ``False``);
            ``None`` if the request was denied.
        sSending global request "%s"gš™™™™™¹?N(RzR«RµRERRRtadd_booleanRˆtaddt_logRRR~RÜRmRÞR´(RÀRtdataRÜR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRîs&	



		cCs|jjƒznt|jƒdkr:|jjdƒ}n@|jj|ƒt|jƒdkrt|jjdƒ}nd}Wd|jjƒX|S(sW
        Return the next channel opened by the client over this transport, in
        server mode.  If no channel is opened before the given timeout,
        ``None`` is returned.

        :param int timeout:
            seconds to wait for a channel, or ``None`` to wait forever
        :return: a new `.Channel` opened by the client
        iN(	RŸRRpR¼tpopR¾RÜRˆR
(RÀRàRõ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytaccepts


Rkc	
	CsÚ|d	k	r!|jƒg|_n|jƒ|d	k	r|r|jƒ}	|	jƒ|jƒksz|	jƒ|jƒkrñ|jtdƒ|jtd|jƒt|jƒƒfƒ|jtd|	jƒt|	jƒƒfƒt	dƒ‚n|jtd|jƒƒn|d	k	s2|d	k	s2|s2|rÖ|r^|jtdƒ|j
|||ƒqÖ|r„|jtdƒ|j|ƒqÖ|d	k	r³|jtdƒ|j||ƒqÖ|jtdƒ|j
||ƒnd	S(
sö
        Negotiate an SSH2 session, and optionally verify the server's host key
        and authenticate using a password or private key.  This is a shortcut
        for `start_client`, `get_remote_server_key`, and
        `Transport.auth_password` or `Transport.auth_publickey`.  Use those
        methods if you want more control.

        You can use this method immediately after creating a Transport to
        negotiate encryption with a server.  If it fails, an exception will be
        thrown.  On success, the method will return cleanly, and an encrypted
        session exists.  You may immediately call `open_channel` or
        `open_session` to get a `.Channel` object, which is used for data
        transfer.

        .. note::
            If you fail to supply a password or private key, this method may
            succeed, but a subsequent `open_channel` or `open_session` call may
            fail because you haven't authenticated yet.

        :param .PKey hostkey:
            the host key expected from the server, or ``None`` if you don't
            want to do host key verification.
        :param str username: the username to authenticate as.
        :param str password:
            a password to use for authentication, if you want to use password
            authentication; otherwise ``None``.
        :param .PKey pkey:
            a private key to use for authentication, if you want to use private
            key authentication; otherwise ``None``.
        :param str gss_host:
            The target's name in the kerberos database. Default: hostname
        :param bool gss_auth:
            ``True`` if you want to use GSS-API authentication.
        :param bool gss_kex:
            Perform GSS-API Key Exchange and user authentication.
        :param bool gss_deleg_creds:
            Whether to delegate GSS-API client credentials.

        :raises: `.SSHException` -- if the SSH2 negotiation fails, the host key
            supplied by the server is incorrect, or authentication fails.
        sBad host key from serversExpected: %s: %ssGot     : %s: %ssHost key verified (%s)s,Attempting GSS-API auth... (gssapi-with-mic)s)Attempting GSS-API auth... (gssapi-keyex)sAttempting public-key auth...sAttempting password auth...N(RˆRåt_preferred_keysRâRötasbytesR0RtreprRStauth_gssapi_with_mictauth_gssapi_keyextauth_publickeyt
auth_password(
RÀthostkeytusernametpasswordtpkeyR•tgss_authRÁRÂRæ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRe,s64
  $cCs<|jjƒz|j}d|_|SWd|jjƒXdS(sy
        Return any exception that happened during the last server request.
        This can be used to fetch more specific error information after using
        calls like `start_client`.  The exception (if any) is cleared after
        this call.

        :return:
            an exception, or ``None`` if there is no stored exception.

        .. versionadded:: 1.1
        N(RŸRRªRˆR
(RÀRÌ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR݈s
		cOs<z'|jjƒ|||f|j|<Wd|jjƒXdS(s'
        Set the handler class for a subsystem in server mode.  If a request
        for this subsystem is made on an open ssh channel later, this handler
        will be constructed and called -- see `.SubsystemHandler` for more
        detailed documentation.

        Any extra parameters (including keyword arguments) are saved and
        passed to the `.SubsystemHandler` constructor later.

        :param str name: name of the subsystem.
        :param handler:
            subclass of `.SubsystemHandler` that handles this subsystem.
        N(RŸRR¿R
(RÀtnameRtlargtkwarg((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytset_subsystem_handlerœs
cCs%|jo$|jdk	o$|jjƒS(s
        Return true if this session is active and authenticated.

        :return:
            True if the session is still open and has been authenticated
            successfully; False if authentication failed and/or the session is
            closed.
        N(RmR³RˆRÑ(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRѰs
	cCs*|js|jdkrdS|jjƒS(s
        Return the username this connection is authenticated for.  If the
        session is not authenticated (or authentication failed), this method
        returns ``None``.

        :return: username that was authenticated (a `str`), or ``None``.
        N(RmR³Rˆtget_username(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRD¿scCs'|js|jdkrdS|jjS(sè
        Return the banner supplied by the server upon connect. If no banner is
        supplied, this method returns ``None``.

        :returns: server supplied banner (`str`), or ``None``.

        .. versionadded:: 1.13
        N(RmR³Rˆtbanner(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt
get_bannerËs	cCsa|js|jr#tdƒ‚ntjƒ}t|ƒ|_|jj||ƒ|jj|ƒS(sö
        Try to authenticate to the server using no authentication at all.
        This will almost always fail.  It may be useful for determining the
        list of authentication types supported by the server, by catching the
        `.BadAuthenticationType` exception raised.

        :param str username: the username to authenticate as
        :return:
            `list` of auth types permissible for the next stage of
            authentication (normally empty)

        :raises:
            `.BadAuthenticationType` -- if "none" authentication isn't allowed
            by the server for this user
        :raises:
            `.SSHException` -- if the authentication failed due to a network
            error

        .. versionadded:: 1.5
        sNo existing session(	RmRšRSRzR«R
R³t	auth_nonetwait_for_response(RÀR<tmy_event((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRGØscs|js|jr#tdƒ‚n|dkr>tjƒ}n|}t|ƒ|_|jj|ˆ|ƒ|dk	rygSy|jj	|ƒSWnlt
k
rû}|sµd|jkr»‚ny#‡fd†}|j||ƒSWqütk
r÷|‚qüXnXdS(s’	
        Authenticate to the server using a password.  The username and password
        are sent over an encrypted link.

        If an ``event`` is passed in, this method will return immediately, and
        the event will be triggered once authentication succeeds or fails.  On
        success, `is_authenticated` will return ``True``.  On failure, you may
        use `get_exception` to get more detailed error information.

        Since 1.1, if no event is passed, this method will block until the
        authentication succeeds or fails.  On failure, an exception is raised.
        Otherwise, the method simply returns.

        Since 1.5, if no event is passed and ``fallback`` is ``True`` (the
        default), if the server doesn't support plain password authentication
        but does support so-called "keyboard-interactive" mode, an attempt
        will be made to authenticate using this interactive mode.  If it fails,
        the normal exception will be thrown as if the attempt had never been
        made.  This is useful for some recent Gentoo and Debian distributions,
        which turn off plain password authentication in a misguided belief
        that interactive authentication is "more secure".  (It's not.)

        If the server requires multi-step authentication (which is very rare),
        this method will return a list of auth types permissible for the next
        step.  Otherwise, in the normal case, an empty list is returned.

        :param str username: the username to authenticate as
        :param basestring password: the password to authenticate with
        :param .threading.Event event:
            an event to trigger when the authentication attempt is complete
            (whether it was successful or not)
        :param bool fallback:
            ``True`` if an attempt at an automated "interactive" password auth
            should be made if the server doesn't support normal password auth
        :return:
            `list` of auth types permissible for the next stage of
            authentication (normally empty)

        :raises:
            `.BadAuthenticationType` -- if password authentication isn't
            allowed by the server for this user (and no event was passed in)
        :raises:
            `.AuthenticationException` -- if the authentication failed (and no
            event was passed in)
        :raises: `.SSHException` -- if there was a network error
        sNo existing sessionskeyboard-interactivecs>t|ƒdkr!tdƒ‚nt|ƒdkr7gSˆgS(NisFallback authentication failed.i(RpRS(ttitletinstructionstfields(R=(sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR8s
N(
RmRšRSRˆRzR«R
R³R:RHRTt
allowed_typestauth_interactive(RÀR<R=RßtfallbackRIRÌR((R=sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR:ôs&/

cCs‰|js|jr#tdƒ‚n|dkr>tjƒ}n|}t|ƒ|_|jj|||ƒ|dk	rygS|jj	|ƒS(sŠ
        Authenticate to the server using a private key.  The key is used to
        sign data from the server, so it must include the private part.

        If an ``event`` is passed in, this method will return immediately, and
        the event will be triggered once authentication succeeds or fails.  On
        success, `is_authenticated` will return ``True``.  On failure, you may
        use `get_exception` to get more detailed error information.

        Since 1.1, if no event is passed, this method will block until the
        authentication succeeds or fails.  On failure, an exception is raised.
        Otherwise, the method simply returns.

        If the server requires multi-step authentication (which is very rare),
        this method will return a list of auth types permissible for the next
        step.  Otherwise, in the normal case, an empty list is returned.

        :param str username: the username to authenticate as
        :param .PKey key: the private key to authenticate with
        :param .threading.Event event:
            an event to trigger when the authentication attempt is complete
            (whether it was successful or not)
        :return:
            `list` of auth types permissible for the next stage of
            authentication (normally empty)

        :raises:
            `.BadAuthenticationType` -- if public-key authentication isn't
            allowed by the server for this user (and no event was passed in)
        :raises:
            `.AuthenticationException` -- if the authentication failed (and no
            event was passed in)
        :raises: `.SSHException` -- if there was a network error
        sNo existing sessionN(
RmRšRSRˆRzR«R
R³R9RH(RÀR<RæRßRI((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR9Gs#cCsg|js|jr#tdƒ‚ntjƒ}t|ƒ|_|jj||||ƒ|jj|ƒS(sú
        Authenticate to the server interactively.  A handler is used to answer
        arbitrary questions from the server.  On many servers, this is just a
        dumb wrapper around PAM.

        This method will block until the authentication succeeds or fails,
        peroidically calling the handler asynchronously to get answers to
        authentication questions.  The handler may be called more than once
        if the server continues to ask questions.

        The handler is expected to be a callable that will handle calls of the
        form: ``handler(title, instructions, prompt_list)``.  The ``title`` is
        meant to be a dialog-window title, and the ``instructions`` are user
        instructions (both are strings).  ``prompt_list`` will be a list of
        prompts, each prompt being a tuple of ``(str, bool)``.  The string is
        the prompt and the boolean indicates whether the user text should be
        echoed.

        A sample call would thus be:
        ``handler('title', 'instructions', [('Password:', False)])``.

        The handler should return a list or tuple of answers to the server's
        questions.

        If the server requires multi-step authentication (which is very rare),
        this method will return a list of auth types permissible for the next
        step.  Otherwise, in the normal case, an empty list is returned.

        :param str username: the username to authenticate as
        :param callable handler: a handler for responding to server questions
        :param str submethods: a string list of desired submethods (optional)
        :return:
            `list` of auth types permissible for the next stage of
            authentication (normally empty).

        :raises: `.BadAuthenticationType` -- if public-key authentication isn't
            allowed by the server for this user
        :raises: `.AuthenticationException` -- if the authentication failed
        :raises: `.SSHException` -- if there was a network error

        .. versionadded:: 1.5
        sNo existing session(	RmRšRSRzR«R
R³RNRH(RÀR<Rt
submethodsRI((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRNxs+	cCs%|sd„}n|j|||ƒS(s
        Autenticate to the server interactively but dumber.
        Just print the prompt and / or instructions to stdout and send back
        the response. This is good for situations where partial auth is
        achieved by key and then the user has to enter a 2fac token.
        cSsyg}|rt|jƒƒn|r8t|jƒƒnx:|D]2\}}t|jƒddƒ|jtƒƒq?W|S(Ntendt (tprinttstriptappendRM(RJRKtprompt_listtanswerstpromptt
show_input((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR¶s(RN(RÀR<RRP((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytauth_interactive_dumb­s
cCsg|js|jr#tdƒ‚ntjƒ}t|ƒ|_|jj||||ƒ|jj|ƒS(sÁ
        Authenticate to the Server using GSS-API / SSPI.

        :param str username: The username to authenticate as
        :param str gss_host: The target host
        :param bool gss_deleg_creds: Delegate credentials or not
        :return: list of auth types permissible for the next stage of
                 authentication (normally empty)
        :rtype: list
        :raises: `.BadAuthenticationType` -- if gssapi-with-mic isn't
            allowed by the server (and no event was passed in)
        :raises:
            `.AuthenticationException` -- if the authentication failed (and no
            event was passed in)
        :raises: `.SSHException` -- if there was a network error
        sNo existing session(	RmRšRSRzR«R
R³R7RH(RÀR<R•RÂRI((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR7Âs	cCsa|js|jr#tdƒ‚ntjƒ}t|ƒ|_|jj||ƒ|jj|ƒS(s\
        Authenticate to the server with GSS-API/SSPI if GSS-API kex is in use.

        :param str username: The username to authenticate as.
        :returns:
            a `list` of auth types permissible for the next stage of
            authentication (normally empty)
        :raises: `.BadAuthenticationType` --
            if GSS-API Key Exchange was not performed (and no event was passed
            in)
        :raises: `.AuthenticationException` --
            if the authentication failed (and no event was passed in)
        :raises: `.SSHException` -- if there was a network error
        sNo existing session(	RmRšRSRzR«R
R³R8RH(RÀR<RI((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR8ÝscCs2||_tj|ƒ|_|jj|jƒdS(sg
        Set the channel for this transport's logging.  The default is
        ``"paramiko.transport"`` but it can be set to anything you want. (See
        the `.logging` module for more info.)  SSH Channels will log to a
        sub-channel of the one specified.

        :param str name: new channel name for logging

        .. versionadded:: 1.1
        N(R¯R	R°R±RR²(RÀR@((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytset_log_channelôs	cCs|jS(s•
        Return the channel name used for this transport's logging.

        :return: channel name as a `str`

        .. versionadded:: 1.2
        (R¯(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytget_log_channelscCs|jj|ƒdS(sa
        Turn on/off logging a hex dump of protocol traffic at DEBUG level in
        the logs.  Normally you would want this off (which is the default),
        but if you are debugging something, it may be useful.

        :param bool hexdump:
            ``True`` to log protocol traffix (in hex) to the log; ``False``
            otherwise.
        N(Rtset_hexdump(RÀthexdump((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR]
s
cCs
|jjƒS(s×
        Return ``True`` if the transport is currently logging hex dumps of
        protocol traffic.

        :return: ``True`` if hex dumps are being logged, else ``False``.

        .. versionadded:: 1.4
        (Rtget_hexdump(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR_s	cCs|rd|_n	d|_dS(s£
        Turn on/off compression.  This will only have an affect before starting
        the transport (ie before calling `connect`, etc).  By default,
        compression is off since it negatively affects interactive sessions.

        :param bool compress:
            ``True`` to ask the remote client/server to compress traffic;
            ``False`` to refuse compression

        .. versionadded:: 1.5.2
        szlib@openssh.comRcR_N(szlib@openssh.comszlibsnone(snone(t_preferred_compression(RÀtcompress((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytuse_compression$scCs,t|jddƒ}|dkr%dS|ƒS(s
        Return the address of the remote side of this Transport, if possible.

        This is effectively a wrapper around ``getpeername`` on the underlying
        socket.  If the socket-like object has no ``getpeername`` method, then
        ``("unknown", 0)`` is returned.

        :return:
            the address of the remote host, if known, as a ``(str, int)``
            tuple.
        tgetpeernametunknowniN(sunknowni(tgetattrRhRˆ(RÀtgp((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRc5scCs¡t|_|jjƒtrQx~|jƒrM|tjƒk	rM|jdƒqWnLxI|jƒrœ|tjƒk	rœ|j	j
rœ|jjrœ|jdƒqTWdS(Ni
gš™™™™™¹?(RlRmRRÔRNtis_aliveRztcurrent_threadtjoinRht_closedtclosed(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR[Fs	
!

cGsVtt|ƒtƒr<x:|D]}|jj||ƒqWn|jj|||ŒdS(N(t
issubclassRrRòR±tlog(RÀtleveltmsgtargsR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR0_s
cCs|jS(s0used by KexGex to find primes for group exchange(Rê(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_get_modulus_packfscCs]|j}x9|jj|ƒdk	rD|jdd@|_|j}qW|jdd@|_|S(syou are holding the lockiiÿÿÿN(R¤R¡RRˆ(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRjs	
cCs|jj|ƒdS(s?used by a Channel to remove itself from the active channel listN(R¡tdelete(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_unlink_channelsscCs|jj|ƒdS(N(Rtsend_message(RÀR1((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt
_send_messagewscCsÁtjƒ}xŒtrš|jjdƒ|jsB|jtdƒdS|jjƒ|jj	ƒrbPn|jj
ƒtjƒ||jkrtdƒ‚qqWz|j
|ƒWd|jj
ƒXdS(s{
        send a message, but block if we're in key negotiation.  this is used
        for user-initiated requests.
        gš™™™™™¹?s0Dropping user packet because connection is dead.Ns2Key-exchange timed out waiting for key negotiation(RÛR~R¬RÜRmR0RR­RRÞR
R®RSRu(RÀR1RÚ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRzs		

cCs1||_||_|jdkr-||_ndS(sR
        Used by a kex obj to set the K (root key) and H (exchange hash).
        N(R™R˜RRˆ(RÀtkth((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_set_K_Hs		cGst|ƒ|_dS(sW
        Used by a kex obj to register the next packet type it expects to see.
        N(RsR(RÀtptypes((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_expect_packet™scCsu|j|jt|ƒƒ}|dkr7tdƒ‚n|j|jt|ƒƒshtd|jƒ‚n||_dS(NsUnknown host key types#Signature verification (%s) failed.(t	_key_infoRRERˆRStverify_ssh_sigR˜R‘(RÀR‘tsigRæ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_verify_keyŸsc	Csjtƒ}|j|jƒ|j|jƒ|jt|ƒƒ|j|jƒt|j	ddƒ}d|j	jj|f}|dkr™t
}|d7}nt|dƒsË|jt|ƒt|dtƒn||jƒƒjƒ}}xxt|ƒ|kratƒ}|j|jƒ|j|jƒ|j|ƒ||jƒƒjƒ}||7}||7}qêW|| S(s0id is 'A' - 'F' for the various keys used by ssht	hash_algos$kex engine %s specified hash_algo %rs, falling back to sha1t_logged_hash_selectionN(REt	add_mpintR™R#R˜RRLRReR—Rˆt	__class__t__name__RthasattrR0RtsetattrR~R5tdigestRp(	RÀRÏtnbytesRRthash_select_msgRÒtsofarR†((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_compute_key§s0	
	

cCsƒ||jkr"td|ƒ‚n]t|j|d|ƒ|j|d|ƒdtƒƒ}||jkru|jƒS|jƒSdS(NsUnknown client cipher R`Ratbackend(RÐRSRRt_ENCRYPTt	encryptort	decryptor(RÀR@Rætivt	operationtcipher((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_get_cipherÅs
cs4|dkr'‡fd†}|ˆ_n	|ˆ_dS(Ncsˆj|ƒdS(N(R(R(RÀ(sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRÕs(RˆR§(RÀRR((RÀsG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_set_forward_agent_handlerÓscs4|dkr'‡fd†}|ˆ_n	|ˆ_dS(Ncsˆj|ƒdS(N(R(Rt
src_addr_port(RÀ(sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRßs(RˆR¨(RÀRR((RÀsG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_set_x11_handlerÛscCsC|jjƒz!|jj|ƒ|jjƒWd|jjƒXdS(N(RŸRR¼RUR¾tnotifyR
(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRås

cCs(|dkr|j}ntt|tƒS(N(RˆR¦RYR2R4(RÀRù((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRíscCs(|dkr|j}ntt|tƒS(N(RˆR¥RYR3R4(RÀRú((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRòscCsøt|_tj|ƒttt|ƒƒt@ƒ}|jrR|jt	d|ƒn|jt	d|ƒyly|j
jt|j
dƒƒ|jt	d|j
ƒ|jƒ|j
j|jƒ|jƒ|jtƒx¨|jr~|j
jƒr|jr|jƒny|j
jƒ\}}Wntk
r5q×nX|tkrHq×nR|tkr{|j|ƒt|_|j
jƒPn|tkrš|j|ƒq×nt |j!ƒdkr||j!krÚt"d|j!|fƒ‚nt#ƒ|_!|dkr|dkr|j$j%||ƒq×qn||j&kr@|j&|||ƒn.||j'krã|j(ƒ}|j)j*|ƒ}|dk	r|j'|||ƒqn||j,kr¶|jt	d	|ƒqn|jt-d
|ƒt|_|j
jƒn‹|j.dk	r'||j.j&kr'|j.j&|}||j.|ƒnG|jt/d|ƒt0ƒ}|j1t2ƒ|j3|j4ƒ|j5|ƒ|j
j6ƒq×WWnWt"k
rÎ}|jt-dt7|ƒƒ|jt-t8j9ƒƒ||_:nt;k
rù}|jt	d
ƒ||_:nát<j=k
rŽ}t>|j?ƒt#kre|j?rJd|j?d|j?df}	qnt7|ƒp_t@|ƒ}	n	|j?}	|jt-d|	ƒ||_:nLtAk
rÙ}|jt-dt7|ƒƒ|jt-t8j9ƒƒ||_:nXtjB|ƒx'tC|j)jDƒƒD]}|jEƒqýW|jrÄt|_|j
jƒ|jFdk	rO|jFjGƒn|j.dk	rn|j.jHƒnx!|jIjDƒD]}
|
jGƒq~Wz|jJjKƒ|jLjMƒWd|jJjNƒXn|jOjƒWn|jjPdk	rô‚qônXdS(Ns!starting thread (server mode): %ss!starting thread (client mode): %ss
sLocal version/idstring: %sis Expecting packet from %r, got %dii)s$Ignoring message for dead channel %ds&Channel request for unknown channel %dsOops, unhandled type %dsException: sEOF in transport threads%s (%d)isSocket exception: sUnknown exception: (QtsysRZRURÎRJRÏR
R¹R0RRt	write_allRLR„t
_check_bannertstart_handshakeR·R&RzRRmt
need_rekeyR›tread_messageRGRRt_parse_disconnectRlRÔRt_parse_debugRpRRSRsR—t
parse_nextt_handler_tablet_channel_handler_tableRR¡RRˆR£RR³RRERRR	tseqnoRutcomplete_handshakeRyR	t
tb_stringsRªtEOFErrorRtRxRrRpR6t	ExceptiontremoveRòRóRôRµtsettabortR¢RŸRR¾R–R
Rhtmodules(RÀttidtptypeRRRõRRoRÌtemsgRß((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytrunøsÆ	
	





	

			

	!	

		

cCsRdj|ƒ}||kr(||7}n|dj||ƒ7}|jt|ƒdS(Ns{0} agreed: slocal={0}, remote={1}(tformatR0R(RÀtwhichtlocaltremoteRo((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_log_agreement|s

cCsi|jjƒz|jjƒWd|jjƒX|jdkrK|jƒn|j|ƒ|j	j
ƒdS(N(R­RR¬tclearR
R‰RˆR&t_parse_kex_initR—t	start_kex(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_negotiate_keys‰s


c	CsÁx¯tdƒD]¡}|dkr+|j}nd}y|jj|ƒ}Wn<tk
r]‚n)tk
r…}tdt|ƒƒ‚nX|d dkršPn|jt	d|ƒq
W|d dkrÙtd|d	ƒ‚n||_
|jt	d
|ƒ|jdƒ}|dkr|| }n|jddƒ}t
|ƒd
krQtdƒ‚n|d}|d}|dkr›|dkr›d}t|j|ƒƒ‚ndj||ƒ}|jt|ƒdS(Nidiis!Error reading SSH protocol bannerisSSH-sBanner: s!Indecipherable protocol version "t"sRemote version/idstring: %sRRRjisInvalid SSH banneris1.99s2.0s)Incompatible version ({0} instead of 2.0)s#Connected (version {0}, client {1})(trangeR¶RtreadlineRVR¦RSRyR0RR…tfindRoRpR¯R(	RÀtiRàtbufRÌtsegstversiontclientRo((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR™–s>
	


cCs|jjƒz|jjƒWd|jjƒXt|_|jrd}g|jD]}|j	|ƒrQ|^qQ}|j
dkrÖt|ƒdkrÖg|j
ƒjD]}|j	|ƒs£|^q£}||j
ƒ_nttt|jjƒƒj|jƒƒ}n	|j}tƒ}|jtƒ|jtjdƒƒ|j|jƒ|j|ƒ|j|jƒ|j|jƒ|j|jƒ|j|jƒ|j|jƒ|j|jƒ|jt ƒƒ|jt ƒƒ|j!t"ƒ|j#dƒ|j$ƒ|_%|j&|ƒdS(sƒ
        announce to the other side that we'd like to negotiate keys, and what
        kind of key negotiation we support.
        Ns!diffie-hellman-group-exchange-shaii('R­RR¬R´R
R~R›R¹R–t
startswithRêRˆRpR×tkexRòtfilterR»tkeyst__contains__R4RERRR#R!R"tadd_listt_preferred_cipherst_preferred_macsR`RtbytesR.RlR	R5R‰Ru(RÀtmp_required_prefixRvtkex_mptpkextavailable_server_keysR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR&ÁsH
		
!		



c
Cs|jdƒ|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}|jƒ}	|jƒ}
|jƒ}|jƒ}|jƒ|jtdt|ƒdt|ƒdt|ƒdt|ƒdt|ƒdt|ƒdt|ƒd	t|	ƒd
t|
ƒdt|ƒdt|ƒƒ|jrhtt	|j
j|ƒƒ}
ntt	|j|j
ƒƒ}
t|
ƒd
kr¤t
dƒ‚n|j|
d
|ƒ|_|jtd|
d
ƒ|jr$tt	t|jjƒƒj|jƒƒ}tt	|j|ƒƒ}ntt	|j|jƒƒ}t|ƒd
kr`t
dƒ‚n|d
|_|jr—|jƒdkr—t
dƒ‚n|jd|d
|d
ƒ|jrôtt	|jj|ƒƒ}tt	|jj|ƒƒ}n6tt	|j|jƒƒ}tt	|j|jƒƒ}t|ƒd
ksNt|ƒd
kr]t
dƒ‚n|d
|_|d
|_|jdd|jd|jƒ|jrØtt	|jj|ƒƒ}tt	|jj|ƒƒ}n6tt	|j|jƒƒ}tt	|j|jƒƒ}t|ƒd
ks2t|ƒd
krAt
dƒ‚n|d
|_|d
|_|jdd|jd|jƒ|jr¼tt	|jj|ƒƒ}tt	|jj|	ƒƒ}n6tt	|j|jƒƒ}tt	|	j|jƒƒ}t|ƒd
kst|ƒd
kr=d}t
|j|||jƒƒ‚n|d
|_|d
|_ |jdd|jd|j ƒt!|j"ƒ|_#dS(Nis
kex algos:s server key:s client encrypt:s server encrypt:s client mac:s server mac:s client compress:s server compress:s
 client lang:s
 server lang:s
 kex follows?is3Incompatible ssh peer (no acceptable kex algorithm)sKex agreed: %ss.Incompatible ssh peer (no acceptable host key)s;Incompatible ssh peer (can't match requested host key type)tHostKeys/Incompatible ssh server (no acceptable ciphers)RR±R²s,Incompatible ssh server (no acceptable macs)tMACsEIncompatible ssh server (no acceptable compression) {0!r} {1!r} {2!r}tCompression($t	get_bytestget_listtget_booleanRR0RRyR¹RòRÃR–RÅRpRSt	_kex_infoR—R»RÄR4RRéRˆR³RÇR†R‡RÈR‹RŒR`R¯RRŽRt
get_so_farRŠ(RÀRt
kex_algo_listtserver_key_algo_listtclient_encrypt_algo_listtserver_encrypt_algo_listtclient_mac_algo_listtserver_mac_algo_listtclient_compress_algo_listtserver_compress_algo_listtclient_lang_listtserver_lang_listtkex_followst
agreed_kexRÍtagreed_keystagreed_local_cipherstagreed_remote_cipherstagreed_remote_macstagreed_local_macstagreed_remote_compressiontagreed_local_compressionRo((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRµösÊ

				
			$

	$

				

	
c	Cs„|j|jd}|jrR|jd|ƒ}|jd|j|jdƒ}n2|jd|ƒ}|jd|j|jdƒ}|j|j|||jƒ}|j|jd}|j|jd}|jrî|jd	|ƒjƒ}n|jd
|ƒjƒ}|j	j
|||||ƒ|j|jd}|dk	r€|jdksZ|jr€|jtd
ƒ|j	j|ƒƒndS(sMswitch on newly negotiated encryption parameters for
         inbound traffics
block-sizetAtCskey-sizetBtDRbR`tEtFiszlib@openssh.coms$Switching on inbound compression ...N(RÐR‡R¹RŠR’t_DECRYPTt	_mac_infoRŒtdigest_sizeRtset_inbound_ciphert_compression_infoRŽRˆRœR0Rtset_inbound_compressor(	RÀt
block_sizetIV_intkey_intenginetmac_sizet
mac_enginetmac_keytcompress_in((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_activate_inbound•s.				cCsätƒ}|jtƒ|j|ƒ|j|jd}|jru|jd|ƒ}|jd|j|jdƒ}n2|jd|ƒ}|jd|j|jdƒ}|j|j|||j	ƒ}|j
|jd}|j
|jd}|jr|jd	|ƒjƒ}n|jd
|ƒjƒ}|jj
dƒ}	|jj||||||	ƒ|j|jd}
|
dk	r¸|jd
ks’|jr¸|jtdƒ|jj|
ƒƒn|jjƒsÓt|_n|jtƒdS(sNswitch on newly negotiated encryption parameters for
         outbound traffics
block-sizeRëRìskey-sizeRéRêRbR`RîRís-ctriszlib@openssh.coms%Switching on outbound compression ...N(RERRRuRÐR†R¹RŠR’RŒRðR‹RñtendswithRtset_outbound_cipherRóRRˆRœR0Rtset_outbound_compressorR›RlR›RzR(RÀRRõtIV_outtkey_outRøRùRúRûtsdctrtcompress_out((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_activate_outbound¼s<	

				cCsŸt|_|jdkrR|j|jd}|jtdƒ|jj|ƒƒn|jdkr›|j|jd}|jtdƒ|jj	|ƒƒndS(Nszlib@openssh.comis%Switching on outbound compression ...is$Switching on inbound compression ...(
R~RœRRóR0RRRRŽRô(RÀRRü((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt
_auth_triggerçs	cCsè|jtdƒ|jƒd|_|_d|_d|_|jrf|j	dkrft
|ƒ|_	n|js{t|_n|j
dk	rš|j
jƒn|jjƒsµt|_n|jjƒz|jjƒWd|jjƒXdS(NsSwitch to new keys ...(R0RRýRˆR‰RŠR™R—R¹R³R
RšR~RµR¨RR›RlR›R­RR¬R
(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_newkeysós$
			
cCs6|jƒ}|jƒ}|jtd||fƒdS(NsDisconnect (code %d): %s(Rtget_textR0R(RÀRtcodetdesc((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR
	sc	Cso|jƒ}|jtd|ƒ|jƒ}|jsR|jtd|ƒt}n£|dkr |jƒ}|jƒ}|jj||ƒ}|rõ|f}qõnU|dkrà|jƒ}|jƒ}|jj	||ƒt
}n|jj||ƒ}d}t|ƒt
kr|}t
}n|rktƒ}|rN|jtƒ|j|Œn
|jtƒ|j|ƒndS(NsReceived global request "%s"s*Rejecting "%s" global request from server.s
tcpip-forwardscancel-tcpip-forward((RR0RRÓR¹RlRRºtcheck_port_forward_requesttcancel_port_forward_requestR~tcheck_global_requestRrRsRERRR/RRu(	RÀRRt
want_replytokRRgtextraRo((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_global_request	s>					

cCs<|jtdƒ||_|jdk	r8|jjƒndS(NsGlobal request successful.(R0RR´RµRˆR¨(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_request_success6	s	cCs<|jtdƒd|_|jdk	r8|jjƒndS(NsGlobal request denied.(R0RRˆR´RµR¨(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_request_failure<	s	cCsÜ|jƒ}|jƒ}|jƒ}|jƒ}|jj|ƒ}|dkrb|jtdƒdS|jjƒzX|j|||ƒ|jt	d|ƒ||j
krÆ|j
|jƒ|j
|=nWd|jjƒXdS(Ns%Success for unrequested channel! [??]sSecsh channel %d opened.(
RR¡RRˆR0RRŸRt_set_remote_channelRR¢R¨R
(RÀRRt
server_chanidtserver_window_sizetserver_max_packet_sizeRõ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_channel_open_successB	s$

cCsä|jƒ}|jƒ}|jƒ}|jƒtj|dƒ}|jtd|||fƒ|jjƒzet||ƒ|_	||j
krÎ|jj|ƒ||j
krÎ|j
|j
ƒ|j
|=qÎnWd|jjƒXdS(Ns(unknown code)s$Secsh channel %d open FAILED: %s: %s(RRRRR0RRŸRRURªR¢R¡RrR¨R
(RÀRRRÄt
reason_strtreason_text((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_channel_open_failureW	s&

cCsˆ|jƒ}|jƒ}|jƒ}|jƒ}t}|dkr’|jdk	r’|jtdƒ|jjƒz|j	ƒ}Wd|jj
ƒXn|dkr|jdk	r|jƒ}|jƒ}	|jtd||	fƒ|jjƒz|j	ƒ}Wd|jj
ƒXn‘|dkr¦|jdk	r¦|jƒ}
|jƒ}|jƒ}|jƒ}	|jtd||	fƒ|jjƒz|j	ƒ}Wd|jj
ƒXnû|j
sÒ|jtd|ƒt}t}nÏ|jjƒz|j	ƒ}Wd|jj
ƒX|dkrc|jƒ}
|jƒ}|jƒ}|jƒ}	|jj|||	f|
|fƒ}n|jj||ƒ}|tkr¡|jtd	|ƒt}n|rtƒ}|jtƒ|j|ƒ|j|ƒ|jd
ƒ|jdƒ|j|ƒdSt|ƒ}|jjƒzZ|jj||ƒt|j|<|j|ƒ|j|j |j!ƒ|j"|||ƒWd|jj
ƒXtƒ}|jt#ƒ|j|ƒ|j|ƒ|j|j ƒ|j|j!ƒ|j|ƒ|jtd||ƒ|dkr|j|ƒno|dkr:|j|||	fƒnJ|dkrw||	f|_$|j|||	f|
|fƒn
|j%|ƒdS(
Nsauth-agent@openssh.coms!Incoming forward agent connectionRýs"Incoming x11 connection from %s:%dsforwarded-tcpips,Incoming tcp forwarded connection from %s:%ds+Rejecting "%s" channel request from server.sdirect-tcpips+Rejecting "%s" channel request from client.RktensSecsh channel %d (%s) opened.(&RRRlR§RˆR0RRŸRRR
R¨R©R¹R~R Rºt"check_channel_direct_tcpip_requesttcheck_channel_requestR!RERR"R	RRuRR¡R
R£RRR¦R¥RR#torigin_addrR(RÀRRRtinitial_window_sizeRútrejectt	my_chanidRtorigin_porttserver_addrtserver_portRÄRt	dest_portRoRõ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_parse_channel_openn	sÊ


		
					








	



	cCsF|jƒ|jƒ}|jƒ|jtdjtj|ƒƒƒdS(NsDebug msg: {0}(RÓt
get_stringR0RR¯R	tsafe_string(RÀRRo((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRžå	s

cCsMz8|jjƒ||jkr,dgifS|j|SWd|jjƒXdS(N(RŸRR¿RˆR
(RÀR@((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_get_subsystem_handlerë	s

(s
aes128-ctrs
aes192-ctrs
aes256-ctrs
aes128-cbcs
aes192-cbcs
aes256-cbcsblowfish-cbcs3des-cbc(s
hmac-sha2-256s
hmac-sha2-512s	hmac-sha1shmac-md5shmac-sha1-96shmac-md5-96(sssh-ed25519secdsa-sha2-nistp256secdsa-sha2-nistp384secdsa-sha2-nistp521sssh-rsasssh-dss(secdh-sha2-nistp256secdh-sha2-nistp384secdh-sha2-nistp521s$diffie-hellman-group-exchange-sha256s"diffie-hellman-group-exchange-sha1sdiffie-hellman-group14-sha1sdiffie-hellman-group1-sha1(snoneN(NN(£Rƒt
__module__t__doc__tobjectRŒRïR‚tparamikot__version__RƒRÇRÈR4R–R`RtAESRtCTRtBlowfishtCBCt	TripleDESRÐRRRRRðROR9RPR:R{R=R>R;R<RCRDRBR?R@RARÔR7R8RˆRóRêR€R5R6RlR~R|RÓRÕR×RÙRâRäRçRétstaticmethodRñRÔRöR÷RüRÿRRRûRRR R%R'R,RR3ReRÝRCRÑRDRFRGR:R9RNRZR7R8R[R\R]R_RbRcR[R0RqRRsRuRRxRzR~RŠR’R“R•RRRR®R³R·R™R&RµRýRRRRRRRRRR'RžR*RR$R%R&R'R(R)RR Rt_request_successR*t_request_failedR+t_feedR,t_feed_extendedR-t_window_adjustR.t_handle_requestR/t_handle_eofR0t
_handle_closeR1R¡(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR^Ysº			





















¡		
			
;B		(			 		W4				%S					
	S15				
																			
				„	
	
	+	5	Ÿ	'	+				$					w			







RÖcBsÔeZdZdZd„Zd„Zd„Zed„ƒZej	d„ƒZed„ƒZ
e
j	d„ƒZ
ed	„ƒZej	d
„ƒZed„ƒZej	d„ƒZed
„ƒZ
e
j	d„ƒZ
RS(s:
    Simple object containing the security preferences of an ssh transport.
    These are tuples of acceptable ciphers, digests, key types, and key
    exchange algorithms, listed in order of preference.

    Changing the contents and/or order of these fields affects the underlying
    `.Transport` (but only if you change them before starting the session).
    If you try to add an algorithm that paramiko doesn't recognize,
    ``ValueError`` will be raised.  If you try to assign something besides a
    tuple to one of the fields, ``TypeError`` will be raised.
    t
_transportcCs
||_dS(N(R>(RÀt	transport((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR|
scCsdt|jƒS(sP
        Returns a string representation of this object, for debugging.
        s!<paramiko.SecurityOptions for %s>(R6R>(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRÓ
scCs½t|ƒtkr!t|ƒ}nt|ƒtk	rBtdƒ‚ntt|j|ƒjƒƒ}g|D]}||krg|^qg}t|ƒdkr¦tdƒ‚nt	|j||ƒdS(Nsexpected tuple or listisunknown cipher(
RrRòRst	TypeErrorReR>RÄRpt
ValueErrorR…(RÀR@torigR(tpossibletnt	forbidden((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt_set"
s%cCs
|jjS(sSymmetric encryption ciphers(R>RÇ(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytciphers-
scCs|jdd|ƒdS(NRÇRÐ(RF(RÀR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRG2
scCs
|jjS(s Digest (one-way hash) algorithms(R>RÈ(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytdigests6
scCs|jdd|ƒdS(NRÈRð(RF(RÀR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRH;
scCs
|jjS(sPublic-key algorithms(R>R4(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt	key_types?
scCs|jdd|ƒdS(NR4R{(RF(RÀR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRID
scCs
|jjS(sKey exchange algorithms(R>R–(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRÂI
scCs|jdd|ƒdS(NR–RÔ(RF(RÀR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRÂN
scCs
|jjS(sCompression algorithms(R>R`(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pytcompressionR
scCs|jdd|ƒdS(NR`Ró(RF(RÀR(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRJW
s(RƒR+R,t	__slots__R|RÓRFtpropertyRGtsetterRHRIRÂRJ(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRÖ
s			R cBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs"tjƒ|_tjƒ|_dS(N(R*tWeakValueDictionaryt_mapRzRžt_lock(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR|]
scCs3|jjƒz||j|<Wd|jjƒXdS(N(RPRROR
(RÀRRõ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR
b
s
cCs9|jjƒz|jj|dƒSWd|jjƒXdS(N(RPRRORRˆR
(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRi
s
cCsH|jjƒz&y|j|=Wntk
r1nXWd|jjƒXdS(N(RPRRORèR
(RÀR((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRrp
s

cCs9|jjƒzt|jjƒƒSWd|jjƒXdS(N(RPRRòRORóR
(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyRóz
s
cCs3|jjƒzt|jƒSWd|jjƒXdS(N(RPRRpROR
(RÀ((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt__len__
s
(RƒR+R|R
RRrRóRQ(((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyR \
s				
	(…R,t
__future__RR!RtR—RzRÛR*thashlibRRRRtcryptography.hazmat.backendsRt&cryptography.hazmat.primitives.ciphersRRRR.R	tparamiko.auth_handlerR
tparamiko.ssh_gssRtparamiko.channelRtparamiko.commonR
RRRRRRRRRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6tparamiko.compressR7R8tparamiko.dsskeyR9tparamiko.ed25519keyR:tparamiko.kex_gexR;R<tparamiko.kex_group1R=tparamiko.kex_group14R>tparamiko.kex_ecdh_nistR?R@RAtparamiko.kex_gssRBRCRDtparamiko.messageREtparamiko.packetRFRGtparamiko.primesRHtparamiko.py3compatRIRJRKRLRMRNtparamiko.rsakeyROtparamiko.ecdsakeyRPtparamiko.serverRQtparamiko.sftp_clientRRtparamiko.ssh_exceptionRSRTRURVt
paramiko.utilRWRXRYRZR]tatexittregisterR{R^R-RÖR (((sG/home/tvault/.virtenv/lib/python2.7/site-packages/paramiko/transport.pyt<module>sf"ÿ."	
ÿÿÿÿÿÿÿÿÿ»Q