net.schmizz.sshj.userauth.UserAuthException

Exhausted available authentication methods

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web60

  • via GitHub by kongo09
    , 1 year ago
    Exhausted available authentication methods
  • Exhausted available authentication methods
  • via Google Groups by Paolo Di Tommaso, 1 month ago
    Exhausted available authentication methods
  • Stack trace

    • net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods at net.schmizz.sshj.SSHClient.auth(SSHClient.java:217) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:316) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:365) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:295) at sshjtest.TestSSH.main(TestSSH.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: net.schmizz.sshj.userauth.UserAuthException: class "org.bouncycastle.openssl.PEMReader"'s signer information does not match signer information of other classes in the same package at net.schmizz.sshj.userauth.UserAuthException$1.chain(UserAuthException.java:33) at net.schmizz.sshj.userauth.UserAuthException$1.chain(UserAuthException.java:26) at net.schmizz.concurrent.Promise.deliverError(Promise.java:95) at net.schmizz.sshj.userauth.UserAuthImpl.notifyError(UserAuthImpl.java:151) at net.schmizz.sshj.transport.TransportImpl.die(TransportImpl.java:579) at net.schmizz.sshj.transport.Reader.run(Reader.java:79) Caused by: net.schmizz.sshj.common.SSHException: class "org.bouncycastle.openssl.PEMReader"'s signer information does not match signer information of other classes in the same package at net.schmizz.sshj.common.SSHException$1.chain(SSHException.java:56) at net.schmizz.sshj.common.SSHException$1.chain(SSHException.java:49) at net.schmizz.sshj.transport.TransportImpl.die(TransportImpl.java:573) ... 1 more Caused by: java.lang.SecurityException: class "org.bouncycastle.openssl.PEMReader"'s signer information does not match signer information of other classes in the same package at java.lang.ClassLoader.checkCerts(ClassLoader.java:952)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    Unknown user
    Once, 5 months ago
    4 times, 9 months ago
    2 times, 10 months ago
    Unknown user
    Once, 10 months ago
    93 more bugmates