Details

    • Similar Issues:

      Description

      It seems that jenkins cli is not able to use SSH agents, which limits the use of the tool considerable, being a serious security risk.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Desirable, but if you have an ssh-agent, you can always use the SSH-based CLI with regular SSH clients.

          Show
          danielbeck Daniel Beck added a comment - Desirable, but if you have an ssh-agent, you can always use the SSH-based CLI with regular SSH clients.
          Hide
          ssbarnea Sorin Sbarnea added a comment -

          Daniel Beck, that's what I was aiming to do as I find ssh client approach zillions times nicer than downloading and running a jar on the client.... which reminds me of websites asking me to download Flash (or another plugin) .

          Now the problem is that even with SSH I was not able to get it working yet. Somehow the connection starts but I get no reply from Jenkins. After some time the connection is dropped serverside:

           

          Aug 22, 2017 8:13:51 PM hudson.init.impl.InstallUncaughtExceptionHandler$1 reportException
          WARNING: null
          java.io.IOException: HTTP full-duplex channel timeout: c66ea617-6e99-4411-9535-534435ac15ee
          at jenkins.util.FullDuplexHttpService.download(FullDuplexHttpService.java:104)
          at jenkins.util.FullDuplexHttpService$Response.generateResponse(FullDuplexHttpService.java:171)

          No other feedback at all, making quite hard to guess what is causing this behavior.

           

           

           

          Show
          ssbarnea Sorin Sbarnea added a comment - Daniel Beck , that's what I was aiming to do as I find ssh client approach zillions times nicer than downloading and running a jar on the client.... which reminds me of websites asking me to download Flash (or another plugin)  . Now the problem is that even with SSH I was not able to get it working yet. Somehow the connection starts but I get no reply from Jenkins. After some time the connection is dropped serverside:   Aug 22, 2017 8:13:51 PM hudson.init.impl.InstallUncaughtExceptionHandler$1 reportException WARNING: null java.io.IOException: HTTP full-duplex channel timeout: c66ea617-6e99-4411-9535-534435ac15ee at jenkins.util.FullDuplexHttpService.download(FullDuplexHttpService.java:104) at jenkins.util.FullDuplexHttpService$Response.generateResponse(FullDuplexHttpService.java:171) No other feedback at all, making quite hard to guess what is causing this behavior.      
          Hide
          jglick Jesse Glick added a comment -

          Sorin Sbarnea that exception is like JENKINS-43666 but this makes no sense since that code is only used from the HTTP-based client. Irrelevant if you are using native SSH to connect.

          Show
          jglick Jesse Glick added a comment - Sorin Sbarnea that exception is like  JENKINS-43666 but this makes no sense since that code is only used from the HTTP-based client. Irrelevant if you are using native SSH to connect.

            People

            • Assignee:
              Unassigned
              Reporter:
              ssbarnea Sorin Sbarnea
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: