Hi Atsuhiko, I can stop checking for this auth method. But what are the possible reasons of this hang. Could it be that the entropy is low etc.
thanks, Prakash On Wed, Feb 12, 2014 at 10:42 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote: > Hi, > > +-From: Prakash Babu <jprakashbab...@gmail.com> -- > |_Date: Mon, 10 Feb 2014 11:54:01 +0530 __________ > | > |I am using JSCH 0.1.44 and trying to execute a remote command > |on a Solaris Host and the session.connect() waits indefinitely. > ... > |Jstack thread dump shows the following stack trace > |java.lang.Thread.State: RUNNABLE > | at java.util.WeakHashMap.get(WeakHashMap.java:355) > | at javax.crypto.SunJCE_b.a(DashoA13*..) > ... > | at com.jcraft.jsch.jce.ARCFOUR.init(ARCFOUR.java:54) > | at com.jcraft.jsch.Session.checkCipher(Session.java:1947) > ... > > It seems it has stopped in checking if the auth method "arcfour" is > available or not. How about skipping that step? > > ... > session.setConfing("CheckCiphers", > > "aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr"); > 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/ > Twitter: http://twitter.com/ymnk > Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users