comparison src/ch/ethz/ssh2/transport/KexManager.java @ 368:b198ea5c5ffd

debug kex error
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 11:05:00 -0700
parents b82713cd787d
children 2768eb029d73
comparison
equal deleted inserted replaced
367:b82713cd787d 368:b198ea5c5ffd
47 HOSTKEY_ALGS.add("ssh-dss"); 47 HOSTKEY_ALGS.add("ssh-dss");
48 } 48 }
49 49
50 private static final ArrayList<String> KEX_ALGS = new ArrayList<String>(); 50 private static final ArrayList<String> KEX_ALGS = new ArrayList<String>();
51 static { 51 static {
52 KEX_ALGS.add("ecdh-sha2-nistp256");
53 KEX_ALGS.add("ecdh-sha2-nistp384");
54 KEX_ALGS.add("ecdh-sha2-nistp521");
52 KEX_ALGS.add("diffie-hellman-group-exchange-sha256"); 55 KEX_ALGS.add("diffie-hellman-group-exchange-sha256");
53 KEX_ALGS.add("diffie-hellman-group-exchange-sha1"); 56 KEX_ALGS.add("diffie-hellman-group-exchange-sha1");
54 KEX_ALGS.add("diffie-hellman-group14-sha1"); 57 KEX_ALGS.add("diffie-hellman-group14-sha1");
55 KEX_ALGS.add("diffie-hellman-group1-sha1"); 58 KEX_ALGS.add("diffie-hellman-group1-sha1");
56 KEX_ALGS.add("ecdh-sha2-nistp256");
57 KEX_ALGS.add("ecdh-sha2-nistp384");
58 KEX_ALGS.add("ecdh-sha2-nistp521");
59 } 59 }
60 60
61 KexState kxs; 61 KexState kxs;
62 int kexCount = 0; 62 int kexCount = 0;
63 KeyMaterial km; 63 KeyMaterial km;