Closed yarikoptic closed 7 years ago
@yarikoptic Yeah, Michael and I argued about this. .ssh/config
has a lot of value, but I just don't use it for situations like this. And I have many users connecting to many machines from my machine (testing, etc). Having a local .ssh/config
getting involved is a bad idea in that environment.
As an aside, I see you are using ProxyCommand
. Take a look at the new ProxyJump
(-J
) command/option. It requires a recent OpenSSH client and server (Debian Stretch and later), but is really quite nice.
---Alex
@yarikoptic Thanks for the patch. :-)
But FWIW I would like to reiterate that ~/.ssh/config solution is more scalable, e.g. we coud just have
thus encapsulating all the knowledge about how to reach datalad-website host via ssh in a single place, possibly tuned for a particular user/network/scenario (easy to define multiple hosts sharing everything but not e.g. Hostname ;))