Skip to content

plus sign in ssh config Host entry breaks the extension #612

@makuk66

Description

@makuk66
  • VSCode Version: 1.35.0
  • Local OS Version:Ubuntu 18.04.2 LTS
  • Remote OS Version:Ubuntu 18.04.2 LTS
  • Remote Extension/Connection Type: SSH

Steps to Reproduce:

  1. Add to your .ssh/config (from https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts):
Host *+*
ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') nc $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')
  1. Reload the Connections list and connect to one of the hosts listed elsewhere in your config
  2. Observe the "Checking ... is reachable" notification, but beyond that nothing happens. No error message either.
  3. Change the plus sign to "foo". Reload, connect, observe it succeeds

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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsshIssue in vscode-remote SSHupstreamIssue identified as 'upstream' component related (exists outside of VS Code Remote)verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions