summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-01 11:51:41 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-01 11:51:41 -0800
commit013ec610643f56f737fe7d1d4ac0f33f09bb3f4a (patch)
tree6989ae3798f044f18aa073af926743ee686897a3
parentc06927016f0b3e51ba725b57e6f20f0f5c74dbc7 (diff)
Log identificatin-string exchange at DEBUG
-rw-r--r--paramiko/transport.py2
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(' ')