Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Information Provided
-
2.7.0
-
None
Description
Getting the below exception trace:
30 Jul 2021 17:03:50,834 [sshd-SshServer[2bcef5ca](port=22091)-nio2-thread-2] DEBUG ServerSessionImpl - resolveEmptySignaturesProposal(ServerSessionImpl[null@/127.0.0.1:36117]) [[ssh-dss]] none of the keys appears in supported list: [ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, sk-ecdsa-sha2-nistp256@openssh.com, rsa-sha2-512, rsa-sha2-256, ssh-rsa] 30 Jul 2021 17:03:50,834 [sshd-SshServer[2bcef5ca](port=22091)-nio2-thread-2] DEBUG ServerSessionImpl - resolveEmptySignaturesProposal(ServerSessionImpl[null@/127.0.0.1:36117])[[ssh-dss]] none of the keys appears in supported list: [ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, sk-ecdsa-sha2-nistp256@openssh.com, rsa-sha2-512, rsa-sha2-256, ssh-rsa]30 Jul 2021 17:03:50,857 [sshd-SshServer[2bcef5ca](port=22091)-nio2-thread-2] DEBUG Nio2Session - handleReadCycleFailure(Nio2Session[local=/127.0.0.1:22091, remote=/127.0.0.1:36117]) SshException after 43009671 nanos at read cycle=1: sendKexInit() no resolved signatures available30 Jul 2021 17:03:50,857 [sshd-SshServer[2bcef5ca](port=22091)-nio2-thread-2] DEBUG Nio2Session - exceptionCaught(Nio2Session[local=/127.0.0.1:22091, remote=/127.0.0.1:36117]) caught SshException[sendKexInit() no resolved signatures available] - calling handler30 Jul 2021 17:03:50,857 [sshd-SshServer[2bcef5ca](port=22091)-nio2-thread-2] WARN ServerSessionImpl - exceptionCaught(ServerSessionImpl[null@/127.0.0.1:36117])[state=Opened] SshException: sendKexInit() no resolved signatures availableorg.apache.sshd.common.SshException: sendKexInit() no resolved signatures available at org.apache.sshd.common.session.helpers.AbstractSession.sendKexInit(AbstractSession.java:2281) at org.apache.sshd.server.session.AbstractServerSession.readIdentification(AbstractServerSession.java:500) at org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:383) at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:64) at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:359) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:336) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:333) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$$Lambda$913/0000000088B4A540.run(Unknown Source) at java.security.AccessController.doPrivileged(AccessController.java:678) at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37) at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:138) at sun.nio.ch.Invoker$2.run(Invoker.java:230) at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:124) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.lang.Thread.run(Thread.java:822)
Post upgrade we are seeing this error, looks like ssh-dss is deprecated in 2.7.0 but was present in 2.5.1. Can you please help to solve this issue, where should we add dss support from code?
The host identity key used is a dss key, all the test cases are failing as a result
Thanks
Susmit