[Bug 3477] Support environment variable or %u token for User

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Nov 15 18:11:33 AEDT 2023


--- Comment #1 from Ben Creasy <ben at bencreasy.com> ---
I figured out how to make this work by using %r in the ProxyCommand and
an environment variable using ${VARIABLE}. The %r is for remote user -
I think it's configured in the bastion server or something?

I don't have the ssh config handy since it's work related but I may
reproduce it on my personal machine at some point.

Ultimately I was able to make an ssh config with no hardcoded
usernames, but I still think it would be useful and intuitive to allow
for a variable in the User configuration itself.

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

More information about the openssh-bugs mailing list