microsoft / microsoft/vscode-remote-release

Unable to connect to container with ssh unless SSH key is in a running SSH agent

Open
#2,019 8 comments 0 reactions 1 assignee View on GitHub

@Chuxel is already working on this.

Since Dec 16, 2019.

containers upstream
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Issue Type: Bug

[2019-12-12 18:29:48.396] [renderer1] [error] connect ENOENT \.\pipe\openssh-ssh-agent: Error: connect ENOENT \.\pipe\openssh-ssh-agent
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1054:14)

Connection works in cmd and powershell

C:\Users\mpawlowsky\dcrdev\remote>echo %DOCKER_HOST%
ssh://mpawlowsky@dcrdev

C:\Users\mpawlowsky\dcrdev\remote>docker exec rhel72_64 ls /hotel
1002
u1002

C:\Users\mpawlowsky\dcrdev\remote>

Extension version: 0.94.0
VS Code version: Code - Insiders 1.41.0-insider (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-10T21:44:16.632Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 x 3312)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.89GB (6.75GB free)
Process Argv
Screen Reader no
VM 0%

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.