Provide better support for SCP to Windows servers

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: SCP and SSH tasks
    • None
    • 8
    • 21

      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
        

            Assignee:
            Unassigned
            Reporter:
            Fahd (Inactive)
            Votes:
            24 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated: