machine icon indicating copy to clipboard operation
machine copied to clipboard

I need docker-machine to use my ssh config file

Open gitbisect opened this issue 10 years ago • 3 comments

Currently https://github.com/docker/machine/blob/df2d3811ca8bc9ddf6896b4a4154b9277826b441/libmachine/ssh/client.go#L69 forces docker-machine to ignore the ssh config. It says

    baseSSHArgs = []string{
        "-F", "/dev/null",
    ...

I need docker-machine to essentially read "~/.ssh/config", the standard config file. How can I override this default setting?

gitbisect avatar Sep 28 '16 20:09 gitbisect

The source code would need to be modified to support it... I think there might be a PR/proposal in flight for this already

nathanleclaire avatar Sep 28 '16 23:09 nathanleclaire

@nathanleclaire you are right. There is a PR indeed. https://github.com/docker/machine/pull/3410

gitbisect avatar Sep 29 '16 06:09 gitbisect

Any update on this? It seems a bizarre default setup, to explicitly force ssh to ignore the user's settings. I'm trying to use docker-machine on a box behind a corporate proxy, and this is preventing me from doing so.

mattjudge avatar Apr 07 '20 14:04 mattjudge