karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3087) can't ssh to the karaf container in latest karaf 3.0.2 snapshot kit
Date Fri, 04 Jul 2014 08:47:34 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved KARAF-3087.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.2

commit fix
http://git-wip-us.apache.org/repos/asf/karaf/commit/f4c76ae3
for karaf-3.0.x branch

> can't ssh to the karaf container in latest karaf 3.0.2 snapshot kit
> -------------------------------------------------------------------
>
>                 Key: KARAF-3087
>                 URL: https://issues.apache.org/jira/browse/KARAF-3087
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>            Priority: Blocker
>             Fix For: 3.0.2
>
>
> start karaf 3.0.2 snapshot kit, and use ssh like
> ssh -p 8101 karaf@localhost
> get error as
> {code}
> 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 
> {code}
> also 
> in the log can see the exception like
> {code}
> 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]
> {code}
> Btw, the SSH in Karaf 2.4.x and Karaf 4.0.x works well



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message