You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Carl-Philipp Harmant (JIRA)" <ji...@apache.org> on 2016/10/20 18:51:58 UTC

[jira] [Updated] (KARAF-4792) Unable to connect to the console

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

Carl-Philipp Harmant updated KARAF-4792:
----------------------------------------
    Description: 
Migrating from Karaf 3.0.4 to 4.0.x, and after deploying our app, impossible to connect to the console in local or via ssh. I activated logs into org.apache.karaf.shell.cfg to be able to see that:

[karafadm@XXXXX bin]$ ./client
35 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
503 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Creating Nio2Connector
Logging in as karaf
511 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Connecting to /0.0.0.0:8101
532 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Creating IoSession on /0:0:0:0:0:0:0:1:39152 from /0.0.0.0:8101
559 [sshd-SshClient[5ccd43c2]-nio2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Client session created
570 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 26 bytes
574 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
575 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Send SSH_MSG_KEXINIT
578 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 584 bytes
578 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
580 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Read 386 bytes
581 [sshd-SshClient[5ccd43c2]-nio2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.14.0
581 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
583 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Kex: server->client [aes128-ctr, hmac-sha1, none] null {}
584 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Kex: client->server [aes128-ctr, hmac-sha1, none] null {}
592 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.kex.FixedDHGEX256 - Send SSH_MSG_KEX_DH_GEX_REQUEST
593 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 32 bytes
593 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
595 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Start authentication
596 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Send SSH_MSG_USERAUTH_REQUEST for none
596 [main] INFO org.apache.sshd.client.session.ClientSessionImpl - Start flagging packets as pending until key exchange is done
674 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Socket has been disconnected, closing IoSession now
675 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Closing Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] immediately
675 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Closing ClientSessionImpl[karaf@/0.0.0.0:8101] immediately
681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthService - Closing org.apache.sshd.client.session.ClientUserAuthService@1cf052d1 immediately
681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Closing org.apache.sshd.client.session.ClientUserAuthServiceNew@53120074 immediately
681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - org.apache.sshd.client.session.ClientUserAuthServiceNew@53120074 closed
682 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthService - org.apache.sshd.client.session.ClientUserAuthService@1cf052d1 closed
682 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientConnectionService - Closing ClientConnectionService[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.forward.DefaultTcpipForwarder - Closing DefaultTcpipForwarder[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.forward.DefaultTcpipForwarder - DefaultTcpipForwarder[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.agent.common.AgentForwardSupport - Closing AgentForwardSupport[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.agent.common.AgentForwardSupport - AgentForwardSupport[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
org.apache.sshd.common.SshException: Authentication failed
	at org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:44)
	at org.apache.karaf.client.Main.main(Main.java:136)
Caused by: org.apache.sshd.common.SshException: Session is closed
	at org.apache.sshd.client.session.ClientUserAuthServiceNew.preClose(ClientUserAuthServiceNew.java:220)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:275)
	at org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseImmediately(CloseableUtils.java:356)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
	at org.apache.sshd.common.util.CloseableUtils$ParallelCloseable.doClose(CloseableUtils.java:182)
	at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)
	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:205)
	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:200)
	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable.doClose(CloseableUtils.java:215)
	at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)
	at org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseImmediately(CloseableUtils.java:356)
	at org.apache.sshd.common.session.AbstractSession.doCloseImmediately(AbstractSession.java:481)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
	at org.apache.sshd.common.AbstractSessionIoHandler.sessionClosed(AbstractSessionIoHandler.java:41)
	at org.apache.sshd.common.io.nio2.Nio2Session.doCloseImmediately(Nio2Session.java:157)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:192)
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
	at sun.nio.ch.Invoker$2.run(Invoker.java:218)
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
684 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.server.x11.X11ForwardSupport - Closing org.apache.sshd.server.x11.X11ForwardSupport@7f3cdc7b immediately
687 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.server.x11.X11ForwardSupport - org.apache.sshd.server.x11.X11ForwardSupport@7f3cdc7b closed
687 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientConnectionService - ClientConnectionService[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] is already closed
688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientSessionImpl - ClientSessionImpl[karaf@/0.0.0.0:8101] closed
688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] closed

Any clue of what's going on ?
Thank you,
Carl

EDIT: I'm using equinox and not felix

  was:
Migrating from Karaf 3.0.4 to 4.0.x, and after deploying our app, impossible to connect to the console in local or via ssh. I activated logs into org.apache.karaf.shell.cfg to be able to see that:

[karafadm@XXXXX bin]$ ./client
35 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
503 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Creating Nio2Connector
Logging in as karaf
511 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Connecting to /0.0.0.0:8101
532 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Creating IoSession on /0:0:0:0:0:0:0:1:39152 from /0.0.0.0:8101
559 [sshd-SshClient[5ccd43c2]-nio2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Client session created
570 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 26 bytes
574 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
575 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Send SSH_MSG_KEXINIT
578 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 584 bytes
578 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
580 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Read 386 bytes
581 [sshd-SshClient[5ccd43c2]-nio2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.14.0
581 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
583 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Kex: server->client [aes128-ctr, hmac-sha1, none] null {}
584 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Kex: client->server [aes128-ctr, hmac-sha1, none] null {}
592 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.kex.FixedDHGEX256 - Send SSH_MSG_KEX_DH_GEX_REQUEST
593 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 32 bytes
593 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
595 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Start authentication
596 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Send SSH_MSG_USERAUTH_REQUEST for none
596 [main] INFO org.apache.sshd.client.session.ClientSessionImpl - Start flagging packets as pending until key exchange is done
674 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Socket has been disconnected, closing IoSession now
675 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Closing Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] immediately
675 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Closing ClientSessionImpl[karaf@/0.0.0.0:8101] immediately
681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthService - Closing org.apache.sshd.client.session.ClientUserAuthService@1cf052d1 immediately
681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Closing org.apache.sshd.client.session.ClientUserAuthServiceNew@53120074 immediately
681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - org.apache.sshd.client.session.ClientUserAuthServiceNew@53120074 closed
682 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthService - org.apache.sshd.client.session.ClientUserAuthService@1cf052d1 closed
682 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientConnectionService - Closing ClientConnectionService[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.forward.DefaultTcpipForwarder - Closing DefaultTcpipForwarder[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.forward.DefaultTcpipForwarder - DefaultTcpipForwarder[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.agent.common.AgentForwardSupport - Closing AgentForwardSupport[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.agent.common.AgentForwardSupport - AgentForwardSupport[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
org.apache.sshd.common.SshException: Authentication failed
	at org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:44)
	at org.apache.karaf.client.Main.main(Main.java:136)
Caused by: org.apache.sshd.common.SshException: Session is closed
	at org.apache.sshd.client.session.ClientUserAuthServiceNew.preClose(ClientUserAuthServiceNew.java:220)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:275)
	at org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseImmediately(CloseableUtils.java:356)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
	at org.apache.sshd.common.util.CloseableUtils$ParallelCloseable.doClose(CloseableUtils.java:182)
	at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)
	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:205)
	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:200)
	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable.doClose(CloseableUtils.java:215)
	at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)
	at org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseImmediately(CloseableUtils.java:356)
	at org.apache.sshd.common.session.AbstractSession.doCloseImmediately(AbstractSession.java:481)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
	at org.apache.sshd.common.AbstractSessionIoHandler.sessionClosed(AbstractSessionIoHandler.java:41)
	at org.apache.sshd.common.io.nio2.Nio2Session.doCloseImmediately(Nio2Session.java:157)
	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:192)
	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
	at sun.nio.ch.Invoker$2.run(Invoker.java:218)
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
684 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.server.x11.X11ForwardSupport - Closing org.apache.sshd.server.x11.X11ForwardSupport@7f3cdc7b immediately
687 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.server.x11.X11ForwardSupport - org.apache.sshd.server.x11.X11ForwardSupport@7f3cdc7b closed
687 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientConnectionService - ClientConnectionService[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] is already closed
688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientSessionImpl - ClientSessionImpl[karaf@/0.0.0.0:8101] closed
688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] closed

Any clue of what's going on ?
Thank you,
Carl


> Unable to connect to the console
> --------------------------------
>
>                 Key: KARAF-4792
>                 URL: https://issues.apache.org/jira/browse/KARAF-4792
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.6, 4.0.7
>         Environment: Mac/Linux
>            Reporter: Carl-Philipp Harmant
>
> Migrating from Karaf 3.0.4 to 4.0.x, and after deploying our app, impossible to connect to the console in local or via ssh. I activated logs into org.apache.karaf.shell.cfg to be able to see that:
> [karafadm@XXXXX bin]$ ./client
> 35 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
> 503 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Creating Nio2Connector
> Logging in as karaf
> 511 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Connecting to /0.0.0.0:8101
> 532 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Creating IoSession on /0:0:0:0:0:0:0:1:39152 from /0.0.0.0:8101
> 559 [sshd-SshClient[5ccd43c2]-nio2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Client session created
> 570 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 26 bytes
> 574 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
> 575 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Send SSH_MSG_KEXINIT
> 578 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 584 bytes
> 578 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
> 580 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Read 386 bytes
> 581 [sshd-SshClient[5ccd43c2]-nio2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.14.0
> 581 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
> 583 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Kex: server->client [aes128-ctr, hmac-sha1, none] null {}
> 584 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Kex: client->server [aes128-ctr, hmac-sha1, none] null {}
> 592 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.client.kex.FixedDHGEX256 - Send SSH_MSG_KEX_DH_GEX_REQUEST
> 593 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Writing 32 bytes
> 593 [sshd-SshClient[5ccd43c2]-nio2-thread-1] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Finished writing
> 595 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Start authentication
> 596 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Send SSH_MSG_USERAUTH_REQUEST for none
> 596 [main] INFO org.apache.sshd.client.session.ClientSessionImpl - Start flagging packets as pending until key exchange is done
> 674 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Socket has been disconnected, closing IoSession now
> 675 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Closing Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] immediately
> 675 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientSessionImpl - Closing ClientSessionImpl[karaf@/0.0.0.0:8101] immediately
> 681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthService - Closing org.apache.sshd.client.session.ClientUserAuthService@1cf052d1 immediately
> 681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - Closing org.apache.sshd.client.session.ClientUserAuthServiceNew@53120074 immediately
> 681 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthServiceNew - org.apache.sshd.client.session.ClientUserAuthServiceNew@53120074 closed
> 682 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientUserAuthService - org.apache.sshd.client.session.ClientUserAuthService@1cf052d1 closed
> 682 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientConnectionService - Closing ClientConnectionService[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
> 683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.forward.DefaultTcpipForwarder - Closing DefaultTcpipForwarder[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
> 683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.forward.DefaultTcpipForwarder - DefaultTcpipForwarder[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
> 683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.agent.common.AgentForwardSupport - Closing AgentForwardSupport[ClientSessionImpl[karaf@/0.0.0.0:8101]] immediately
> 683 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.agent.common.AgentForwardSupport - AgentForwardSupport[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
> org.apache.sshd.common.SshException: Authentication failed
> 	at org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:44)
> 	at org.apache.karaf.client.Main.main(Main.java:136)
> Caused by: org.apache.sshd.common.SshException: Session is closed
> 	at org.apache.sshd.client.session.ClientUserAuthServiceNew.preClose(ClientUserAuthServiceNew.java:220)
> 	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:275)
> 	at org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseImmediately(CloseableUtils.java:356)
> 	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
> 	at org.apache.sshd.common.util.CloseableUtils$ParallelCloseable.doClose(CloseableUtils.java:182)
> 	at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)
> 	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:205)
> 	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:200)
> 	at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable.doClose(CloseableUtils.java:215)
> 	at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)
> 	at org.apache.sshd.common.util.CloseableUtils$AbstractInnerCloseable.doCloseImmediately(CloseableUtils.java:356)
> 	at org.apache.sshd.common.session.AbstractSession.doCloseImmediately(AbstractSession.java:481)
> 	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
> 	at org.apache.sshd.common.AbstractSessionIoHandler.sessionClosed(AbstractSessionIoHandler.java:41)
> 	at org.apache.sshd.common.io.nio2.Nio2Session.doCloseImmediately(Nio2Session.java:157)
> 	at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:276)
> 	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:192)
> 	at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)
> 	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
> 	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
> 	at sun.nio.ch.Invoker$2.run(Invoker.java:218)
> 	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> 684 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.server.x11.X11ForwardSupport - Closing org.apache.sshd.server.x11.X11ForwardSupport@7f3cdc7b immediately
> 687 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.server.x11.X11ForwardSupport - org.apache.sshd.server.x11.X11ForwardSupport@7f3cdc7b closed
> 687 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientConnectionService - ClientConnectionService[ClientSessionImpl[karaf@/0.0.0.0:8101]] closed
> 688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] is already closed
> 688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.client.session.ClientSessionImpl - ClientSessionImpl[karaf@/0.0.0.0:8101] closed
> 688 [sshd-SshClient[5ccd43c2]-nio2-thread-2] DEBUG org.apache.sshd.common.io.nio2.Nio2Session - Nio2Session[local=/0:0:0:0:0:0:0:1:39152, remote=/0.0.0.0:8101] closed
> Any clue of what's going on ?
> Thank you,
> Carl
> EDIT: I'm using equinox and not felix



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)