Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31033

Add sshOptions & scpOptions to support pseudo-terminal in buildscripts/remote_operations.py

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-10-02

      The script buildscripts/remote_operations.py supports passing sshOptions which are common for ssh and scp. There is a case where some variants do not support sudo over ssh unless a pseduo-terminal is provided in ssh, via the -t option. Since this is an ssh only option it cannot be provided in the ssh_options parameter when instantiating the RemoteOperations class, as that object is used for both ssh and scp operations. A new mechanism to support ssh and scp only options should be provided.

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: