Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12925

New options to bypass git ssh proxy channel

    XMLWordPrintable

Details

    • 3
    • 3
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      I am logging this request as Bamboo administrator of OpenSource project. SEN can be provided on request.

      Being running few remote agents, we often have cases when git fetch or push fails or is slow (using ssh keys and gitolite on the other end). It does not depend on Internet channels, I replicated that even within local test installation and LAN (really with 3 VMs running on VMware ESXi server and no external networks).

      One case: fetch is slow and unreliable.
      Other case: using auto-merge configuration, it can't push merged branch back to gitolite with 50% probability:

      Push command error: Warning: Permanently added '[127.0.0.1]:60287' (RSA) to the list of known hosts.
      error: unpack failed: eof before pack header was fully read
      To ssh://d09ed13d-78e9-44c2-bc33-359a5f1f189f@127.0.0.1:60287/project.git
       ! [remote rejected] next -> next (n/a (unpacker error))
      error: failed to push some refs to 'ssh://d09ed13d-78e9-44c2-bc33-359a5f1f189f@127.0.0.1:60287/project.git'

      After patching the git plugin to bypass ssh proxy and using agent's ssh key directly, both problems were solved.

      So I would like to have new options:

      • to bypass the proxy channel completely;
      • to pass passwords/keys to selected agents to allow them to auth to gitolite directly.

      The 1st case probably will work if we set AuthenticationType=None.
      The 2nd one should pass keys or passwords to agents using encrypted channel, authenticate to remote system and drop them not storing to agent's file system.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f31f51273d0f Oleg Semyonov
              Votes:
              25 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated: