ó =OXc@sÙddlZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd efd „ƒYZd efd „ƒYZdefd„ƒYZdefd„ƒYZ dej fd„ƒYZ dS(iÿÿÿÿNt SSHExceptioncBseZdZRS(sT Exception raised by failures in SSH2 protocol negotiation or logic errors. (t__name__t __module__t__doc__(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRstAuthenticationExceptioncBseZdZRS(sÖ Exception raised when authentication failed for some reason. It may be possible to retry with different credentials. (Other classes specify more specific reasons.) .. versionadded:: 1.6 (RRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRstPasswordRequiredExceptioncBseZdZRS(sR Exception raised when a password is needed to unlock a private key file. (RRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyR(stBadAuthenticationTypecBs&eZdZgZd„Zd„ZRS(s„ Exception raised when an authentication type (like password) is used, but the server isn't allowing that type. (It may only allow public-key, for example.) :ivar list allowed_types: list of allowed authentication types provided by the server (possible values are: ``"none"``, ``"password"``, and ``"publickey"``). .. versionadded:: 1.1 cCs,tj||ƒ||_||f|_dS(N(Rt__init__t allowed_typestargs(tselft explanationttypes((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyR=s cCstj|ƒd|jS(Ns (allowed_types=%r)(Rt__str__R(R ((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyR Cs(RRRRRR (((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyR/s  tPartialAuthenticationcBseZdZgZd„ZRS(sM An internal exception thrown in the case of partial authentication. cCs)tj|dƒ||_|f|_dS(Nspartial authentication(RRRR (R R ((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRMs (RRRRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRGstChannelExceptioncBseZdZd„ZRS(s¨ Exception raised when an attempt to open a new `.Channel` fails. :ivar int code: the error code returned by the server .. versionadded:: 1.6 cCs,tj||ƒ||_||f|_dS(N(RRtcodeR (R Rttext((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyR\s (RRRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRTstBadHostKeyExceptioncBseZdZd„ZRS(s The host key given by the SSH server did not match what we were expecting. :ivar str hostname: the hostname of the SSH server :ivar PKey got_key: the host key presented by the server :ivar PKey expected_key: the host key expected .. versionadded:: 1.6 cCsZtj|d||jƒ|jƒfƒ||_||_||_|||f|_dS(Ns:Host key for server %s does not match : got %s expected %s(RRt get_base64thostnametkeyt expected_keyR (R Rtgot_keyR((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRms     (RRRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRcs tProxyCommandFailurecBseZdZd„ZRS(sà The "ProxyCommand" found in the .ssh/config file returned an error. :ivar str command: The command line that is generating this exception. :ivar str error: The error captured from the proxy command output. cCs6tj|d||fƒ||_||f|_dS(Ns5"ProxyCommand (%s)" returned non-zero exit status: %s(RRterrorR (R tcommandR((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRs   (RRRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRzstNoValidConnectionsErrorcBs eZdZd„Zd„ZRS(sþ Multiple connection attempts were made and no families succeeded. This exception class wraps multiple "real" underlying connection errors, all of which represent failed connection attempts. Because these errors are not guaranteed to all be of the same error type (i.e. different errno, `socket.error` subclass, message, etc) we expose a single unified error message and a ``None`` errno so that instances of this class match most normal handling of `socket.error` objects. To see the wrapped exception objects, access the ``errors`` attribute. ``errors`` is a dict whose keys are address tuples (e.g. ``('127.0.0.1', 22)``) and whose values are the exception encountered trying to connect to that address. It is implied/assumed that all the errors given to a single instance of this class are from connecting to the same hostname + port (and thus that the differences are in the resolution of the hostname - e.g. IPv4 vs v6). .. versionadded:: 1.16 cCsœt|jƒƒ}djg|d D]}|d^q#ƒ}|dd}|rYd}nd}tt|ƒjd|j|dd||ƒƒ||_dS(sl :param dict errors: The errors dict to store, as described by class docstring. s, iÿÿÿÿis+Unable to connect to port {0} on {1} or {2}s$Unable to connect to port {0} on {2}iN( tsortedtkeystjointsuperRRtNonetformatterrors(R R"taddrstxtbodyttailtmsg((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyR¢s* cCs|j|jffS(N(t __class__R"(R ((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyt __reduce__´s(RRRRR)(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyRŒs ( tsockett ExceptionRRRRRRRRRR(((s:/usr/lib/python2.7/site-packages/paramiko/ssh_exception.pyts