Hi,

   +-From: Nick <equn...@gmail.com> ---------
   |_Date: Thu, 11 Sep 2014 15:04:35 +0400 __
   |
   |I have faced with the same issue as discussed here 
   |http://sourceforge.net/p/jsch/mailman/message/32660306 and here 
   
|http://stackoverflow.com/questions/25404371/java8-jcraft-key-is-too-long-for-this-algorithm

   |I had a chance to test it with two different SFTP servers and got 
   |different results. Please find JSch logs (successful and failed) in 
   |attachments.
   |Could you help me to find the root of the problem and how it can be fixed?

How about inserting following line,
   session.setConfig("kex", "diffie-hellman-group-exchange-sha1");
before session.connect() ?


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
Skype callto://jcraft/

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to