…add_sha2_support Conflicts: paramiko/transport.py
Conflicts: paramiko/transport.py tests/test_transport.py
…rt'. This commit fixes the problem with the fork where you can't connect using SHA1 anymore. The fix changes the '_preferred_macs' and '_preferred_kex' order.
shouldn't this try to preserve the relative order of sha1?
such that hmac-sha1 is after hmac-sha2-256 - otherwise, you've changed the preferred order to now prefer md5 over sha (if the server doesn't support sha2-256)