diff options
author | Jeremy T. Bouse <jbouse@debian.org> | 2014-09-22 20:57:20 -0400 |
---|---|---|
committer | Jeremy T. Bouse <jbouse@debian.org> | 2014-09-22 20:57:20 -0400 |
commit | 941814e1efaf9a46992476e50badcecbcbfc9a41 (patch) | |
tree | 5105110a2b87bcf58340c7fa069220e673d90cc9 /paramiko/transport.py | |
parent | ccd643cdbd7ba752727d62051058a4454451414d (diff) | |
download | python-paramiko-941814e1efaf9a46992476e50badcecbcbfc9a41.tar python-paramiko-941814e1efaf9a46992476e50badcecbcbfc9a41.tar.gz |
Imported Upstream version 1.15.1upstream/1.15.1
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r-- | paramiko/transport.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index b465aa0..bf30c78 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -960,10 +960,14 @@ class Transport (threading.Thread, ClosingContextManager): :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 targets 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: Delegate GSS-API client credentials or not + :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. @@ -1067,10 +1071,9 @@ class Transport (threading.Thread, ClosingContextManager): def get_banner(self): """ Return the banner supplied by the server upon connect. If no banner is - supplied, this method returns C{None}. + supplied, this method returns ``None``. - @return: server supplied banner, or C{None}. - @rtype: string + :returns: server supplied banner (`str`), or ``None``. """ if not self.active or (self.auth_handler is None): return None |