Not very often as a matter of fact, but always happening if I use the following script that retries the operation 1000 times.
for i in {1..1000} ; do bin/client -v -a 8101 -h localhost -u admin -p admin status || break; done;
43 [main] INFO org.apache.sshd.common.util.SecurityUtils - BouncyCastle not registered, using the default JCE provider
173 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Session created...
181 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Server version string: SSH-2.0-SSHD-CORE-0.12.0
182 [pool-2-thread-1] INFO org.apache.sshd.client.session.ClientSessionImpl - Received SSH_MSG_KEXINIT
231 [pool-2-thread-1] INFO org.apache.sshd.client.kex.DHG1 - Send SSH_MSG_KEXDH_INIT
241 [pool-2-thread-2] INFO org.apache.sshd.client.kex.DHG1 - Received SSH_MSG_KEXDH_REPLY
256 [pool-2-thread-2] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught
org.apache.sshd.common.SshException: KeyExchange signature verification failed
at org.apache.sshd.client.kex.AbstractDHGClient.next(AbstractDHGClient.java:121)
at org.apache.sshd.client.session.ClientSessionImpl.doHandleMessage(ClientSessionImpl.java:338)
at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:293)
at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:587)
at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:253)
at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
at org.apache.sshd.common.io.nio2.Nio2Session$2.completed(Nio2Session.java:231)
at org.apache.sshd.common.io.nio2.Nio2Session$2.completed(Nio2Session.java:217)
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:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
260 [pool-2-thread-2] INFO org.apache.sshd.client.session.ClientSessionImpl - Session null@localhost/127.0.0.1:8101 closed
java.lang.Exception: Authentication failure
at org.apache.karaf.client.Main.main(Main.java:157)
I see @gnodet in this commit on Apache Mina, maybe he knows more if it's a known bug
Not very often as a matter of fact, but always happening if I use the following script that retries the operation 1000 times.
I see @gnodet in this commit on Apache Mina, maybe he knows more if it's a known bug