Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50009

SSH connection reports a garbage before a command execution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • ssh-slaves-plugin
    • None

      the Jenkins node was connected before, today suddenly it was offline. Checked the log as below:

      [03/08/18 17:08:03] [SSH] Opening SSH connection to 10.239.94.119:22. [03/08/18 17:08:03] [SSH] Authentication successful. SSH connection reports a garbage before a command execution. Check your .bashrc, .profile, and so on to make sure it is quiet. The received junk text is as follows: WARNING: Your password has expired. Password change required but no TTY available. hudson.AbortException at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:859) at hudson.plugins.sshslaves.SSHLauncher.access$100(SSHLauncher.java:133) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:703) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) [03/08/18 17:08:04] Launch failed - cleaning up connection [03/08/18 17:08:04] [SSH] Connection closed.

       

      it displayed the junk test is 'WARNING: Your password has expired. Password change required but no TTY available'. But I could access this Jenkins node with the original account and password. and searched all the files in Jenkins node, couldn't find any files with this sentence.

      Any help is appreciated.

            Unassigned Unassigned
            wangbo wangbo lu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: