microsoft / microsoft/vscode-remote-release

Updating '-L' option to configuration file gets error format!

Open
#3,609 0 comments 0 reactions 1 assignee View on GitHub

@roblourens is already working on this.

Since Sep 4, 2020.

feature-request ssh ssh-config
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version:
    1.48.2
    a0479759d6e9ea56afa657e454193f72aef85bd0
    x64

  • Local OS Version:
    Windows 10
    1909
    18363.1016

  • Remote OS Version:
    not relate

  • Remote Extension/Connection Type: SSH/Docker/WSL
    SSH

Steps to Reproduce:

  1. Install 'Remote - SSH' extension into VS code, open extension's panel
  2. Click 'Add New' button to create new ssh connection
  3. Enter following command:
ssh -L 16006:127.0.0.1:6006 username@destination
  1. Select the updated configuration file, then get:
Host destination
  HostName destination
  LocalForward 16006:127.0.0.1:6006
  User username

BUT, IT SHOULD BE:

Host destination
  HostName destination
  LocalForward 16006 127.0.0.1:6006
  User username

PS: The options of 'LocalForward' should be split by SPACE!

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.