java.io.IOException

org.jclouds.rest.AuthorizationException: (root: <snip> ) error acquiring SSHClient(timeout=60000): 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 web11426

  • via whirr-user by Madhu Ramanna, 9 months ago
    org.jclouds.rest.AuthorizationException: (root: <snip> ) error acquiring SSHClient(timeout=60000): Exhausted available authentication methods
  • via whirr-user by Andrei Savu, 9 months ago
    org.jclouds.rest.AuthorizationException: (root: <snip> ) error acquiring SSHClient(timeout=60000): Exhausted available authentication methods
  • via whirr-user by Madhu Ramanna, 9 months ago
    org.jclouds.rest.AuthorizationException: (root: <snip> ) error acquiring SSHClient(timeout=60000): Exhausted available authentication methods
  • Stack trace

    • java.io.IOException: org.jclouds.rest.AuthorizationException: (root: <snip> ) error acquiring SSHClient(timeout=60000): Exhausted available authentication methods at org.apache.whirr.actions.ScriptBasedClusterAction.runScripts(ScriptBasedClusterAction.java:215) at org.apache.whirr.actions.ScriptBasedClusterAction.doAction(ScriptBasedClusterAction.java:128) at org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:107) at org.apache.whirr.ClusterController.launchCluster(ClusterController.java:109) at org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:63) at org.apache.whirr.cli.Main.run(Main.java:64) at org.apache.whirr.cli.Main.main(Main.java:97) Caused by: org.jclouds.rest.AuthorizationException: (root:rsa[<snip>]@107.21.80.86:22) error acquiring SSHClient(timeout=60000): Exhausted available authentication methods at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:413) at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:244) at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:255) at org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.call(RunScriptOnNodeAsInitScriptUsingSsh.java:89) at org.jclouds.compute.internal.BaseComputeService.runScriptOnNode(BaseComputeService.java:612) at org.apache.whirr.actions.ScriptBasedClusterAction$2.call(ScriptBasedClusterAction.java:190) at org.apache.whirr.actions.ScriptBasedClusterAction$2.call(ScriptBasedClusterAction.java:178) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114) at net.schmizz.sshj.SSHClient.auth(SSHClient.java:204) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:304) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:323) at org.jclouds.sshj.SshjSshClient$1.create(SshjSshClient.java:199) at org.jclouds.sshj.SshjSshClient$1.create(SshjSshClient.java:171) at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:220) ... 10 more Caused by: net.schmizz.sshj.userauth.UserAuthException: publickey auth failed at net.schmizz.sshj.userauth.UserAuthImpl.handle(UserAuthImpl.java:157) at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:474) at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:127) at net.schmizz.sshj.transport.Decoder.received(Decoder.java:195) at net.schmizz.sshj.transport.Reader.run(Reader.java:72)

    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

    You’re the first here who have seen this exception.