-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to container with ssh unless SSH key is in a running SSH agent #2019
Comments
contents of settings.json |
|
Documentation issue for windows. Even if the client keys are installed, without ssh-agent running the connection to the remote container will not succeed. |
@Chuxel Could we add (or reference) this to the documentation about connecting via |
@chrmarti I wouldn't actually expect that to be the case - Is this a dockerode limitation issue? |
@Chuxel docker-modem currently doesn't read from .ssh/config (apocas/docker-modem#113). The only way to authenticate is via the username in the URI and the private key in the ssh-agent from what I see. |
Got it - yeah, definitely want raise visibility then. Will make that change. |
Doc update will land soon - thanks for catching this. @chrmarti, I removed the doc tag and left it as upstream for tracking. Will also tweak the subject |
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
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
The text was updated successfully, but these errors were encountered: