diff options
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r-- | paramiko/transport.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 174e0bf4..bab23fa1 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -2100,6 +2100,9 @@ class Transport(threading.Thread, ClosingContextManager): self.host_key_type = agreed_keys[0] if self.server_mode and (self.get_server_key() is None): raise SSHException('Incompatible ssh peer (can\'t match requested host key type)') # noqa + self._log_agreement( + 'HostKey', agreed_keys[0], agreed_keys[0] + ) if self.server_mode: agreed_local_ciphers = list(filter( |