[Bug 2827] New: Specifying ssh config file via -F does not apply to ProxyJump / ProxyCommand

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 30 09:17:19 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2827

            Bug ID: 2827
           Summary: Specifying ssh config file via -F does not apply to
                    ProxyJump / ProxyCommand
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: willchan at google.com

I have a config file that has a Host section for the destination host,
that uses a ProxyCommand to connect via a jump host. Connection
configuration for the jump host is also specified in its own Host
section in the config file. The problem is that, unless the config file
is in a default location (system /etc ssh config, or /etc/passwd
specified home directory), I'd have to specify -F in the ProxyCommand
itself. This means the config file isn't safe to be located in any
arbitrary location, without rewriting its content. If I specify -F on
the command line, it'd be great for it to be propagated to ProxyJumps.
That said, I suspect that may not be the best way to configure this. It
would just solve my problem :)

More concretely, I am deploying multiple ssh configurations and
identities to a cloud server, so it can access a bunch of our other
hosts. I don't want to have to overwrite /etc or ~user/.ssh/config. I
looked into setting $HOME, but it appears that that is not supported.
ssh appears to use the directory specified in /etc/passwd, as returned
by getpwuid().

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list