It looks like you use OpenJDK. Can you try using Oracle JDK installed by hand, or install the JCE (Java Cryptographic Extension) for OpenJDK ?

Thanks,
Regards
JB

On 01/19/2016 10:22 AM, Daniel McGreal wrote:
Hi all,
I have the same problem. bin/client fails with the same exception, but an ssh 
client works OK:

karaf@root()> info
Karaf
   Karaf version               4.0.3
   Karaf home                  /opt/karaf/
   Karaf base                  /opt/karaf/
   OSGi Framework              org.apache.felix.framework-5.4.0

JVM
   Java Virtual Machine        OpenJDK 64-Bit Server VM version 25.65-b01
   Version                     1.8.0_65
   Vendor                      Oracle Corporation
   Pid                         25660
   Uptime                      3 days 12 hours
   Total compile time          2 minutes
Threads
   Live threads                92
   Daemon threads              63
   Peak                        107
   Total started               2394
Memory
   Current heap size           76,441 kbytes
   Maximum heap size           506,816 kbytes
   Committed heap size         154,100 kbytes
   Pending objects             0
   Garbage collector           Name = 'Copy', Collections = 151, Time = 3.801 
seconds
   Garbage collector           Name = 'MarkSweepCompact', Collections = 90, 
Time = 29.521 seconds
Classes
   Current classes loaded      14,549
   Total classes loaded        15,672
   Total classes unloaded      1,123
Operating system
   Name                        Linux version 3.14.48-33.39.amzn1.x86_64
   Architecture                amd64
   Processors                  1

Let me know if I can give any more information.
Best, Dan.

On 19 Jan 2016, at 08:40, Morgan Hautman <[email protected]> wrote:

Hi Edward,

I tested on Ubuntu with java version "1.7.0_80" and it seems to go smoothly.
Don't think the JVM version could have an effect here but why not give it a 
try..

Regards,
Morgan

On 01/19/2016 09:24 AM, eBroots wrote:
Hi JB,

I start karaf with the standard script /bin/karaf
I have tested with ssh -p 8101 karaf@localhost and it work fine but with
/bin/client script it doesn't work.
My JDK version is "1.7.0_65".

But, for "JCE" I didn't have any idea about what it is ? Can you please
explain it to me ? Does it's necessary to add it to our system in order to
use the standard client script ?

Thank you for your help.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Error-when-opening-ssh-client-tp4044902p4044904.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to