diff options
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r-- | paramiko/transport.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 467c6727..57bb4dbb 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -348,13 +348,14 @@ class BaseTransport (threading.Thread): 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 L{PKey.get_name} for the key - type, and C{str(key)} for the key string. + You can get the same effect by calling + L{PKey.get_name <pkey.PKey.get_name>} for the key type, and C{str(key)} + for the key string. @raise SSHException: if no session is currently active. @return: public key of the remote server. - @rtype: L{PKey} + @rtype: L{PKey <pkey.PKey>} """ if (not self.active) or (not self.initial_kex_done): raise SSHException('No existing session') |