Hi all,
I am seeing an exception in the log when I try the following:
$ ssh -p 8101 -l karaf localhost
Connection reset by 127.0.0.1
From the karaf.log file:
2016-03-04 11:12:27,501 | WARN | f]-nio2-thread-1 | ServerSession
| 5 - org.apache.sshd.core - 0.14.0 | Exception caught
java.security.InvalidAlgorithmParameterException: parameter object not a
ECParameterSpec
at org.bouncycastle.jce.provider.JDKKeyPairGenerator$EC.initialize(Unknown
Source)
at
java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)[:1.8.0_45]
at
org.apache.sshd.common.kex.ECDH.getE(ECDH.java:58)[5:org.apache.sshd.core:0.14.0]
at
org.apache.sshd.server.kex.AbstractDHGServer.init(AbstractDHGServer.java:71)[5:org.apache.sshd.core:0.14.0]
at
org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:390)[5:org.apache.sshd.core:0.14.0]
at
org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326)[5:org.apache.sshd.core:0.14.0]
at
org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780)[5:org.apache.sshd.core:0.14.0]
at
org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308)[5:org.apache.sshd.core:0.14.0]
....
This is from a custom distribution of Karaf....when I try the same with
a clean Karaf4 instance, I do not encounter this issue & am able to
login successfully. I figured it must be one of the etc/*.cfg files I
messed up that's included in the custom distribution. However, when I
remove all the custom distribution's etc files, I still encounter the
login problem. Is there something else I can try?
Thanks
Jason