diff options
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r-- | paramiko/transport.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index a521ef07..a314847e 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -121,8 +121,7 @@ class Transport (threading.Thread, ClosingContextManager): _preferred_keys = ( 'ssh-rsa', 'ssh-dss', - 'ecdsa-sha2-nistp256', - ) + )+tuple(ECDSAKey.supported_key_format_identifiers()) _preferred_kex = ( 'diffie-hellman-group1-sha1', 'diffie-hellman-group14-sha1', |