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

SSH connection reports a garbage before a command execution.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None

      I am attaching a slave node of a windows virtual machine on my jenkins. However, it ran into the follow error:

      [08/18/21 23:30:36] [SSH] Opening SSH connection to 168.42.85.140:22.
      [08/18/21 23:30:37] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
      [08/18/21 23:30:37] [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:
      'true' is not recognized as an internal or external command,
      operable program or batch file.

      null
      [08/18/21 23:30:37] Launch failed - cleaning up connection
      [08/18/21 23:30:37] [SSH] Connection closed.

      However, I cannot find .bashrc or .profile on the potential windows slave node. 

      Jenkins is running on macOS of 10.12 and there is some related info

      sun.java.command jenkins.war --httpPort=8000
      ssh-credentials 1.13 true
      ssh-slaves 1.20 true

       
      Please let me know if any jenkins info should be provided. 

       

            ifernandezcalvo Ivan Fernandez Calvo
            santphina Xiaofan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: