microsoft / microsoft/vscode-cpptools
"${command:pickRemoteProcess}" does not work with remote SSH security banner
Open
Nobody has claimed this yet.
bug
debugger
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: Debugger
Describe the bug
- OS and Version: Windows 10 Pro (64-bit) 10.0.19041
- Remote OS version: Ubuntu 16.04.7 LTS
- VS Code Version: Code 1.50.0
- C/C++ Extension Version: 1.0.1
- Other extensions you installed (and if the issue persists after disabling them): -
${command:pickRemoteProcess} does not work with a remote SSH server that displays a security banner before login.
To Reproduce
- 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
===============================================================================
- Create a launch configuration with
"request": "attach",pipeTransportand"processId": "${command:pickRemoteProcess}" - Launch the configuration
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the /etc/ssh/sshd_config Banner setting and a launch configuration using pipeTransport and "processId": "${command:pickRemoteProcess}". Start by tracing how the remote process picker handles SSH output before login. Done means the picker works when the remote SSH server displays the documented security banner.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100