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

Provide better support for SCP to Windows servers

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • SCP and SSH tasks
    • None
    • 5
    • 6
    • 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

      Currently Bamboo escapes files it sends via SCP to a remote server with single quote. On Windows, depending on:

      • SSH server and its configuration escaped path is not handled properly, as a result file arrived on host server is wrapped with single quote, e.g 'my_app.exe'

      Scope of the issue:

      • Provide better support for cases when SSH server can't handle paths properly.

      Workarounds

      1. The following server handle path properly:
      2. Set PowerShell as the default Windows shell for SSH:
        Run this from an Administrator Powershell session
        New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mfahd Fahd
              Votes:
              23 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated: