# HG changeset patch # User Carl Byington # Date 1407175500 25200 # Node ID b198ea5c5ffda1ee836b2656cd1f5da180b7e024 # Parent b82713cd787da8ecffc990d5a45f82cc5c5b5004 debug kex error diff -r b82713cd787d -r b198ea5c5ffd src/ch/ethz/ssh2/transport/KexManager.java --- a/src/ch/ethz/ssh2/transport/KexManager.java Mon Aug 04 10:44:51 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/KexManager.java Mon Aug 04 11:05:00 2014 -0700 @@ -49,13 +49,13 @@ private static final ArrayList KEX_ALGS = new ArrayList(); static { + KEX_ALGS.add("ecdh-sha2-nistp256"); + KEX_ALGS.add("ecdh-sha2-nistp384"); + KEX_ALGS.add("ecdh-sha2-nistp521"); KEX_ALGS.add("diffie-hellman-group-exchange-sha256"); KEX_ALGS.add("diffie-hellman-group-exchange-sha1"); KEX_ALGS.add("diffie-hellman-group14-sha1"); KEX_ALGS.add("diffie-hellman-group1-sha1"); - KEX_ALGS.add("ecdh-sha2-nistp256"); - KEX_ALGS.add("ecdh-sha2-nistp384"); - KEX_ALGS.add("ecdh-sha2-nistp521"); } KexState kxs;