diff options
-rw-r--r-- | paramiko/transport.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 7d0857c8..2f90cdfa 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1598,6 +1598,7 @@ class Transport (threading.Thread, ClosingContextManager): try: try: self.packetizer.write_all(b(self.local_version + '\r\n')) + self._log(DEBUG, 'Local version/idstring: %s' % self.local_version) self._check_banner() # The above is actually very much part of the handshake, but # sometimes the banner can be read but the machine is not @@ -1742,6 +1743,7 @@ class Transport (threading.Thread, ClosingContextManager): raise SSHException('Indecipherable protocol version "' + buf + '"') # save this server version string for later self.remote_version = buf + self._log(DEBUG, 'Remote version/idstring: %s' % buf) # pull off any attached comment comment = '' i = buf.find(' ') |