Excellent.  Thanks for the help.  It works perfectly.

-Jeff

On Jan 4, 2011, at 10:11 PM, Atsuhiko Yamanaka wrote:

> Hi,
> 
>   +-From: Jeff Russell <[email protected]> --
>   |_Date: Tue, 4 Jan 2011 17:06:34 -0500 ____
>   |
>   |Now when I run my program, I get the following info message ..
>   |diffie-hellman-group14-sha1 is not available.
>   ...
>   |com.jcraft.jsch.JSchException: There are not any available kexes.
>   |   at com.jcraft.jsch.Session.send_kexinit(Session.java:576)
>   |   at com.jcraft.jsch.Session.connect(Session.java:278)
>   |   at com.jcraft.jsch.Session.connect(Session.java:154)
>   |   at SshLogger.main(SshLogger.java:83)
>   |com.jcraft.jsch.JSchException: There are not any available kexes.
> 
>   |So why is it saying that kex is not available?  Is this expected?  I
>   |have not included the boucycastle library yet.
> 
> Yes, it is.
> As I wrote before, SunJCE is not enough to support that kex method.
> 
>   |How do I then override the SunJCE provider to use the bouncycastle JCE 
> provider?
> 
> After adding bcprov-jdk16-145.jar[1] to CLASSPATH,
> invoke the following line at the beginning of you code,
>  java.security.Security.insertProviderAt(
>    new org.bouncycastle.jce.provider.BouncyCastleProvider(), 1
>  );
> 
> [1] http://bouncycastle.org/download/bcprov-jdk16-145.jar
> 
> 
> Sincerely,
> --
> Atsuhiko Yamanaka
> JCraft,Inc.
> 1-14-20 HONCHO AOBA-KU,
> SENDAI, MIYAGI 980-0014 Japan.
> Tel +81-22-723-2150
>    +1-415-578-3454
> Skype callto://jcraft/
> Twitter: http://twitter.com/ymnk

'Life isn't about how to survive the storm, But how to dance in the rain.'

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to