-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed as not planned
Labels
Description
Description
The new ssh connection introduced in #1014 does not allow to define many SSH options that are sometimes needed.
It indeed supports ~/.ssh/config, but what about portability?
Possible solutions that come to my mind:
- Allow to specify the SSH command itself, with all but the host, user and port.
- Allow to specify a custom config file (e.g.
ssh -F /tmp/other_config) that can be filled by a script previously. - Allow to specify SSH options (e.g.
docker -H ssh://example.com -o ForwardAgent=yes -o 'ProxyCommand=/usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p ' container ls)
Current workaround would be for a script to override current $PATH and prepend a different ssh binary that proxies to the original one. But that's hacky!
sgreben, sandys, mdawar and evolutics