hudson.AbortException: The server doesn't support the password authentication

Jenkins JIRA | abjoshi | 5 years ago
  1. 0

    SSH Slaves plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 4 months ago
    hudson.AbortException: The server doesn't support the password authentication
  2. 0

    [01/10/12 09:58:30] [SSH] Opening SSH connection to <server name>:22. hudson.AbortException: The server doesn't support the password authentication at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:699) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:283) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200) 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) [01/10/12 09:58:30] [SSH] Connection closed. Hi,After a recent unix server upgrade to our slaves, Hudson now fails to connect over SSH to them with the above message. I believe the issue to be that given the new servers now only support keyboard-interactive authentication, not password anymore, the connection fails. Can we add support to the plugin to either choose an authentication type or failover to keyboard-interactive if password fails? Internally, for other apps, using the same ganymed*. ssh library we've added the same fallback and its a very easy code change .Something like: <code> if(connection.isAuthMethodAvailable(usr, "password")){ connection.authenticateWithPassword(usr, pwd); } else if(connection.isAuthMethodAvailable(usr, "keyboard-interactive")){ connection.authenticateWithKeyboardInteractive(usr, new InteractiveCallback(){ </code> changing following setting in /etc/sshd_config (or /etc/ssh/sshd_config) doesnt yield any change as BoKs/ Keon doesnt support password authentication at all. # To disable tunneled clear text passwords, change to no here! PasswordAuthentication no

    Jenkins JIRA | 5 years ago | abjoshi
    hudson.AbortException: The server doesn't support the password authentication
  3. 0

    SSH Slaves plugin - hudson - Hudson Wiki

    hudson-ci.org | 4 months ago
    hudson.AbortException: The server doesn't support the password authentication
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [01/10/12 09:58:30] [SSH] Opening SSH connection to <server name>:22. hudson.AbortException: The server doesn't support the password authentication at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:699) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:283) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200) 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) [01/10/12 09:58:30] [SSH] Connection closed. Hi,After a recent unix server upgrade to our slaves, Hudson now fails to connect over SSH to them with the above message. I believe the issue to be that given the new servers now only support keyboard-interactive authentication, not password anymore, the connection fails. Can we add support to the plugin to either choose an authentication type or failover to keyboard-interactive if password fails? Internally, for other apps, using the same ganymed*. ssh library we've added the same fallback and its a very easy code change .Something like: <code> if(connection.isAuthMethodAvailable(usr, "password")){ connection.authenticateWithPassword(usr, pwd); } else if(connection.isAuthMethodAvailable(usr, "keyboard-interactive")){ connection.authenticateWithKeyboardInteractive(usr, new InteractiveCallback(){ </code> changing following setting in /etc/sshd_config (or /etc/ssh/sshd_config) doesnt yield any change as BoKs/ Keon doesnt support password authentication at all. # To disable tunneled clear text passwords, change to no here! PasswordAuthentication no

    Jenkins JIRA | 5 years ago | abjoshi
    hudson.AbortException: The server doesn't support the password authentication
  6. 0

    SSH issue connecting to slave

    Google Groups | 3 years ago | Ci-Ci Thomson
    hudson.AbortException: Cannot find SSH User credentials with id: 284bb56c-625c-48cf-89a2-7d85d1a6d4d1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.AbortException

      The server doesn't support the password authentication

      at hudson.plugins.sshslaves.SSHLauncher.openConnection()
    2. hudson.plugins.sshslaves
      SSHLauncher.launch
      1. hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:699)
      2. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:283)
      2 frames
    3. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames