On Thu, Jul 29, 2010 at 9:39 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote:
> This is the first time to hear such a problem.
> Can you try yet another key exchange method?
> I mean that ...
>
>   JSch ssh = new JSch();
>   Session session = ssh.getSession(<username>,<host>,<port>);
>   session.setConfig("kex",
>              "diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1");
>   ...
>   session.connect();

Thank you for the suggestion.  I tried what you mentioned:

            java.util.Properties jschConfig=new java.util.Properties();
            
jschConfig.put("kex","diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha");
            jschConfig.put("StrictHostKeyChecking", "no");
            //jschConfig.put("UseOpenSSLEngine", "no");
            //jschConfig.put("cipher.s2c", "aes128-cbc");
            //jschConfig.put("cipher.c2s", "aes128-cbc");
            //jschConfig.put("CheckCiphers", "aes128-cbc");
            jschSession.setConfig(jschConfig);

Unfortunately, I am still able to replicate the symptoms as originally
described.  I left in (with comments) some of the other options I have
tried as well.

-- 
Best Regards,

Scott Spyrison

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to