Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
start karaf 3.0.2 snapshot kit, and use ssh like
ssh -p 8101 karaf@localhost
get error as
no matching cipher found: client aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se server
also
in the log can see the exception like
2014-07-01 16:31:38,332 | WARN | pool-8-thread-7 | ServerSession | 39 - org.apache.sshd.core - 0.11.0 | Exception caught java.lang.IllegalStateException: Unable to negotiate key exchange for encryption algorithms (client to server) (client: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se / server: ) at org.apache.sshd.common.session.AbstractSession.negotiate(AbstractSession.java:1098)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:357)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:720)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.io.nio2.Nio2Session$1.completed(Nio2Session.java:188)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.io.nio2.Nio2Session$1.completed(Nio2Session.java:174)[39:org.apache.sshd.core:0.11.0] at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.7.0_07] at sun.nio.ch.Invoker.invokeDirect(Invoker.java:145)[:1.7.0_07] at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)[:1.7.0_07] at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:272)[:1.7.0_07] at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:293)[:1.7.0_07] at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:407)[:1.7.0_07] at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:174)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.completed(Nio2Acceptor.java:130)[39:org.apache.sshd.core:0.11.0] at org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.completed(Nio2Acceptor.java:109)[39:org.apache.sshd.core:0.11.0] at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.7.0_07] at sun.nio.ch.Invoker$2.run(Invoker.java:206)[:1.7.0_07] at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.7.0_07] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_07] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_07] at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]
Btw, the SSH in Karaf 2.4.x and Karaf 4.0.x works well
Attachments
Issue Links
- is duplicated by
-
KARAF-2153 wrong path in JAVA_ENDORSED_DIRS and JAVA_EXT_DIRS in bin/karaf script from snapshots
- Resolved
- relates to
-
KARAF-3501 bin/client script doesn't work in latest 4.0 SNAPSHOT kit
- Resolved