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

Add timeout config for SSH plugins

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-plugin
    • None

      Hello,

      While using the SSH plugin I continually get socket timeout errors.

      After some research (i'm not a java dev) I think the problem could be mitigated somewhat if I was able to configure the timeout value from within Jenkins.

      From my limited understanding Jenkins is calling the Jsch library which does have a variable for sockettimeout: http://epaul.github.io/jsch-documentation/javadoc/com/jcraft/jsch/Session.html#setTimeout(int)

      So similar to how we pass the host details and the keepalive settings can we add a field to configure the timeout?

      Apologies if this is not the place for this.

            Unassigned Unassigned
            amochumber Amo Chumber
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: