[
https://issues.apache.org/jira/browse/KARAF-6891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220367#comment-17220367
]
Carlo Dapor commented on KARAF-6891:
------------------------------------
Here is the log of bin/client -v -l 3
{code}
➜ apache-karaf-4.2.10 bin/client -v -l 3
159 [main] DEBUG org.apache.sshd.common.util.security.SecurityUtils -
register([BC, true, false]) not registered - enabled=null, supported={}
161 [main] DEBUG org.apache.sshd.common.util.security.SecurityUtils -
register([EdDSA, true, false]) not registered - enabled=null, supported={}
Logging in as karaf
355 [main] INFO org.apache.sshd.common.io.DefaultIoServiceFactoryFactory - No
detected/configured IoServiceFactoryFactory using Nio2ServiceFactoryFactory
374 [main] DEBUG
org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver -
reloadHostConfigEntries([karaf, localhost, 8101,
/Users/carlo/.ssh/config]@null:{}) check permissions of {}
388 [main] INFO
org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver -
resolveEffectiveResolver(karaf@localhost:8101) loaded 25 entries from
/Users/carlo/.ssh/config
391 [main] DEBUG
org.apache.sshd.client.config.hosts.DefaultConfigFileHostEntryResolver -
resolveEffectiveHost([karaf, localhost, 8101, null]@null:{}) => {}
391 [main] DEBUG org.apache.sshd.client.SshClient - connect([karaf, localhost,
8101]@null:{}) no overrides
395 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector - Connecting to
localhost/127.0.0.1:8101
413 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector -
setOption([SO_REUSEADDR, true, socket-reuseaddr])[null] from property={}
426 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session - Creating IoSession on
[/127.0.0.1:64256, localhost/127.0.0.1:8101, null] from null via {}
445 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl - Client session created:
Nio2Session[local=/127.0.0.1:64256, remote=localhost/127.0.0.1:8101]
447 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientUserAuthService -
ClientUserAuthService(ClientSessionImpl[null@localhost/127.0.0.1:8101]) client
methods: [publickey, keyboard-interactive, password]
455 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.session.helpers.SessionTimeoutListener -
sessionCreated(ClientSessionImpl[null@localhost/127.0.0.1:8101]) tracking
456 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
initializeProxyConnector(ClientSessionImpl[null@localhost/127.0.0.1:8101]) no
proxy to initialize
461 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
sendIdentification(ClientSessionImpl[null@localhost/127.0.0.1:8101]):
SSH-2.0-APACHE-SSHD-2.5.1
462 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
writePacket(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]) Writing 27 bytes
464 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
handleCompletedWriteCycle(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]) finished writing len=27
467 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
sendKexInit(ClientSessionImpl[null@localhost/127.0.0.1:8101]) Send
SSH_MSG_KEXINIT
481 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
encode([ClientSessionImpl[null@localhost/127.0.0.1:8101], 0, 20,
SSH_MSG_KEXINIT, 1191]) packet #null sending command={}[{}] len={}
484 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
writePacket(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]) Writing 1208 bytes
486 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
handleCompletedWriteCycle(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]) finished writing len=1208
489 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.SshClient -
setupDefaultSessionIdentities(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])
key identity provider override in session listener
503 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
handleReadCycleCompletion(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]) read 27 bytes
506 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
doReadIdentification(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])
line='SSH-2.0-APACHE-SSHD-2.5.1'
507 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
readIdentification(ClientSessionImpl[karaf@localhost/127.0.0.1:8101]) Server
version string: SSH-2.0-APACHE-SSHD-2.5.1
509 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
exceptionCaught([Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101], IOException, Connection reset by peer])
caught null[{}] - calling handler
510 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
signalAuthFailure([ClientSessionImpl[karaf@localhost/127.0.0.1:8101],
IOException, false, Connection reset by peer]) type=null, signalled={}: {}
510 [sshd-SshClient[7e057f43]-nio2-thread-1] WARN
org.apache.sshd.client.session.ClientSessionImpl -
exceptionCaught(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])[state=Opened]
IOException: Connection reset by peer
510 [sshd-SshClient[7e057f43]-nio2-thread-1] WARN
org.apache.sshd.client.session.ClientSessionImpl -
exceptionCaught(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])[state=Opened]
details
java.io.IOException: Connection reset by peer
at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:245)
at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223)
at
java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:517)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298)
at
org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:385)
at
org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:360)
at
org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:334)
at
org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:331)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
at java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)
at
java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:562)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298)
at
org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:385)
at
org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:326)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:319)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:315)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:311)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:307)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:303)
at
org.apache.sshd.common.io.nio2.Nio2Connector$ConnectionCompletionHandler.onCompleted(Nio2Connector.java:166)
at
org.apache.sshd.common.io.nio2.Nio2Connector$ConnectionCompletionHandler.onCompleted(Nio2Connector.java:121)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
at
java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
522 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.session.helpers.SessionTimeoutListener -
sessionException([ClientSessionImpl[karaf@localhost/127.0.0.1:8101],
IOException, Connection reset by peer]) null: {}
523 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.session.helpers.SessionTimeoutListener -
sessionClosed(ClientSessionImpl[karaf@localhost/127.0.0.1:8101]) un-tracked
523 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
close(ClientSessionImpl[karaf@localhost/127.0.0.1:8101]) Closing immediately
524 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
signalAuthFailure([ClientSessionImpl[karaf@localhost/127.0.0.1:8101],
SshException, false, Session is being closed]) type=null, signalled={}: {}
531 [main] DEBUG org.apache.sshd.client.session.ClientSessionImpl -
addPasswordIdentity(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])
SHA256:MFiExFNQu83IUEdulJM4nQvyxg1KalAz2uFviHDn6o0
532 [main] DEBUG org.apache.sshd.client.session.ClientUserAuthService -
auth(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])[ssh-connection] send
SSH_MSG_USERAUTH_REQUEST for 'none'
534 [main] DEBUG org.apache.sshd.client.session.ClientSessionImpl -
enqueuePendingPacket(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])[SSH_MSG_USERAUTH_REQUEST]
Start flagging packets as pending until key exchange is done
534 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientUserAuthService -
close(org.apache.sshd.client.session.ClientUserAuthService@4407b301) Closing
immediately
535 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientUserAuthService -
close(org.apache.sshd.client.session.ClientUserAuthService@4407b301)[Immediately]
closed
536 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientConnectionService -
close(ClientConnectionService[ClientSessionImpl[karaf@localhost/127.0.0.1:8101]])
Closing immediately
536 [main] DEBUG org.apache.sshd.client.SshClient - close(SshClient[7e057f43])
Closing immediately
536 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientConnectionService -
stopHeartBeat(ClientSessionImpl[karaf@localhost/127.0.0.1:8101]) no heartbeat
to stop
539 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector -
close(org.apache.sshd.common.io.nio2.Nio2Connector@7d7758be) Closing immediately
540 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Session -
close(Nio2Session[local=/127.0.0.1:64256, remote=localhost/127.0.0.1:8101])
Closing immediately
540 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Session -
doCloseImmediately(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]) closing
socket=sun.nio.ch.UnixAsynchronousSocketChannelImpl[connected
local=/127.0.0.1:64256 remote=localhost/127.0.0.1:8101]
541 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientConnectionService -
close(ClientConnectionService[ClientSessionImpl[karaf@localhost/127.0.0.1:8101]])[Immediately]
closed
541 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
close(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101])[Immediately] state already Immediate
542 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.client.session.ClientSessionImpl -
close(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])[Immediately] closed
542 [sshd-SshClient[7e057f43]-nio2-thread-1] DEBUG
org.apache.sshd.common.io.nio2.Nio2Session -
close(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101])[Immediately] state already Immediate
542 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Session -
doCloseImmediately(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101])
socket=sun.nio.ch.UnixAsynchronousSocketChannelImpl[closed] closed
543 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector -
unmapSession(id=101): Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101]
543 [main] DEBUG org.apache.sshd.common.util.closeable.SequentialCloseable -
doClose(org.apache.sshd.common.util.closeable.SequentialCloseable$1@2bdd8394)
signal close complete immediately=true
544 [main] DEBUG org.apache.sshd.client.session.ClientSessionImpl -
close(ClientSessionImpl[karaf@localhost/127.0.0.1:8101])[Immediately] state
already Closed
544 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Session -
close(Nio2Session[local=/127.0.0.1:64256,
remote=localhost/127.0.0.1:8101])[Immediately] closed
545 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2Connector -
close(org.apache.sshd.common.io.nio2.Nio2Connector@7d7758be)[Immediately] closed
545 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2ServiceFactory -
close(org.apache.sshd.common.io.nio2.Nio2ServiceFactory@5f9edf14) Closing
immediately
545 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2ServiceFactory - Shutdown
group
547 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2ServiceFactory - Group
successfully shut down
547 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2ServiceFactory - Shutdown
executor
548 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2ServiceFactory - Shutdown
complete
548 [main] DEBUG org.apache.sshd.common.io.nio2.Nio2ServiceFactory -
close(org.apache.sshd.common.io.nio2.Nio2ServiceFactory@5f9edf14)[Immediately]
closed
549 [main] DEBUG org.apache.sshd.common.util.closeable.SequentialCloseable -
doClose(org.apache.sshd.common.util.closeable.SequentialCloseable$1@2f01783a)
signal close complete immediately=true
549 [main] DEBUG org.apache.sshd.client.SshClient -
close(SshClient[7e057f43])[Immediately] closed
org.apache.sshd.common.SshException: Session is closed
at
org.apache.sshd.client.session.ClientUserAuthService.preClose(ClientUserAuthService.java:354)
at
org.apache.sshd.common.util.closeable.AbstractCloseable.close(AbstractCloseable.java:94)
at
org.apache.sshd.common.util.closeable.ParallelCloseable.doClose(ParallelCloseable.java:65)
at
org.apache.sshd.common.util.closeable.SimpleCloseable.close(SimpleCloseable.java:63)
at
org.apache.sshd.common.util.closeable.SequentialCloseable$1.operationComplete(SequentialCloseable.java:56)
at
org.apache.sshd.common.util.closeable.SequentialCloseable$1.operationComplete(SequentialCloseable.java:45)
at
org.apache.sshd.common.util.closeable.SequentialCloseable.doClose(SequentialCloseable.java:69)
at
org.apache.sshd.common.util.closeable.SimpleCloseable.close(SimpleCloseable.java:63)
at
org.apache.sshd.common.util.closeable.AbstractInnerCloseable.doCloseImmediately(AbstractInnerCloseable.java:48)
at
org.apache.sshd.common.util.closeable.AbstractCloseable.close(AbstractCloseable.java:95)
at
org.apache.sshd.common.session.helpers.SessionHelper.exceptionCaught(SessionHelper.java:1210)
at
org.apache.sshd.client.session.ClientSessionImpl.exceptionCaught(ClientSessionImpl.java:136)
at
org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.exceptionCaught(AbstractSessionIoHandler.java:53)
at
org.apache.sshd.common.io.nio2.Nio2Session.exceptionCaught(Nio2Session.java:189)
at
org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleFailure(Nio2Session.java:378)
at
org.apache.sshd.common.io.nio2.Nio2Session$1.onFailed(Nio2Session.java:339)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$failed$1(Nio2CompletionHandler.java:46)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.failed(Nio2CompletionHandler.java:45)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
at java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)
at
java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:562)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298)
at
org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:385)
at
org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:360)
at
org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:334)
at
org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:331)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
at java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)
at
java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:562)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277)
at
java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298)
at
org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:385)
at
org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:326)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:319)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:315)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:311)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:307)
at
org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:303)
at
org.apache.sshd.common.io.nio2.Nio2Connector$ConnectionCompletionHandler.onCompleted(Nio2Connector.java:166)
at
org.apache.sshd.common.io.nio2.Nio2Connector$ConnectionCompletionHandler.onCompleted(Nio2Connector.java:121)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
at
java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
{code}
> Cannot log onto karaf 4.2.9 (localhost)
> ---------------------------------------
>
> Key: KARAF-6891
> URL: https://issues.apache.org/jira/browse/KARAF-6891
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.9
> Environment: OS: macOS 10.13.6
> JVM: java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
> Reporter: Carlo Dapor
> Priority: Major
>
> Installed karaf 4.2.9.
> Owned by user, started by the user.
> Loggin on with ${KARAF_HOME}/bin/client
> data/log/karaf.log shows
> {code}
> 2020-10-25T18:45:48,872 | INFO | sshd-SshServer[d0001a4]-nio2-thread-2 |
> ServerUserAuthService | 38 - org.apache.sshd.core - 1.7.0 | Session
> karaf@/127.0.0.1:49782 authenticated
> 2020-10-25T18:45:49,145 | WARN | sshd-SshServer[d0001a4]-nio2-thread-1 |
> ServerSessionImpl | 38 - org.apache.sshd.core - 1.7.0 |
> exceptionCaught(ServerSessionImpl[karaf@/127.0.0.1:49782])[state=Opened]
> RuntimeSshException: null
> {code}
> When calling ${KARAF_HOME}/bin/client -v
> the immediate output is:
> {code}
> ➜ apache-karaf-4.2.9 bin/client -v
> Logging in as karaf
> 722 [sshd-SshClient[f78a47e]-nio2-thread-2] WARN
> org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at
> localhost/127.0.0.1:8101 presented unverified RSA key:
> SHA256:o3QJTe##############################
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)