microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.42k stars 1.52k forks source link

"${command:pickRemoteProcess}" does not work with remote SSH security banner #6289

Open dslijepcevic opened 3 years ago

dslijepcevic commented 3 years ago

Type: Debugger

Describe the bug

${command:pickRemoteProcess} does not work with a remote SSH server that displays a security banner before login.

To Reproduce

  1. Set the banner in /etc/ssh/sshd_config:
Banner /some/path/sshd-banner

/some/path/sshd-banner:

========================== Authorized Access Notice ===========================
              This computer system is the property of Big Tech Co.
      Activities are actively monitored and unauthorized access or use of
                      this computer system is prohibited
===============================================================================
  1. Create a launch configuration with "request": "attach", pipeTransport and "processId": "${command:pickRemoteProcess}"
  2. Launch the configuration
WardenGnaw commented 3 years ago

Thanks for the bug report. We have verified that this is a bug in the extension.