From 5caf0eaaa54fcfe43a9efd32652afa159d00c596 Mon Sep 17 00:00:00 2001 From: Pierce Lopez Date: Mon, 5 Jun 2017 04:03:52 -0400 Subject: transport: _key_info for ecdsa-sha2-nistp384 and -nistp521 To support host keys of these key types, which are already in _preferred_keys! --- paramiko/transport.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paramiko/transport.py b/paramiko/transport.py index 96bd4a07..5ab24980 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -210,6 +210,8 @@ class Transport (threading.Thread, ClosingContextManager): 'ssh-rsa': RSAKey, 'ssh-dss': DSSKey, 'ecdsa-sha2-nistp256': ECDSAKey, + 'ecdsa-sha2-nistp384': ECDSAKey, + 'ecdsa-sha2-nistp521': ECDSAKey, } _kex_info = { -- cgit v1.2.3