From 439876b38cb8caf38ed957bdf0caeeeedfac740d Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 30 Oct 2015 11:45:57 -0700 Subject: Explicitly log agreed-upon MAC --- paramiko/transport.py | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3