summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-10-30 11:45:57 -0700
committerJeff Forcier <jeff@bitprophet.org>2015-10-30 11:45:57 -0700
commit439876b38cb8caf38ed957bdf0caeeeedfac740d (patch)
tree12e3249146d04b5b6109e4a29c5d1cbe9b837b37
parentae1cb8fe2cf39fea0ee441dac037931c5e4bc23e (diff)
Explicitly log agreed-upon MAC
-rw-r--r--paramiko/transport.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index e0b7c296..5d6ffa67 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -1873,6 +1873,7 @@ class Transport (threading.Thread, ClosingContextManager):
raise SSHException('Incompatible ssh server (no acceptable macs)')
self.local_mac = agreed_local_macs[0]
self.remote_mac = agreed_remote_macs[0]
+ self._log(DEBUG, 'MACs agreed: local=%s, remote=%s' % (self.local_mac, self.remote_mac))
if self.server_mode:
agreed_remote_compression = list(filter(self._preferred_compression.__contains__, client_compress_algo_list))