| Summary: | Provide a way to set an environment variable from ssh_config | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Sascha Silbe <sascha-openssh-bugs> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | enhancement | CC: | djm, drescher |
| Priority: | P5 | ||
| Version: | 7.4p1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 2852 | ||
|
Description
Sascha Silbe
2017-02-16 04:52:02 AEDT
ssh_config (and sshd_config) now have a SetEnv option that does just this. *** Bug 2875 has been marked as a duplicate of this bug. *** Thanks! Does the current implementation support keyword expansion? The man page doesn't say and I couldn't see any expansion happening in the code (but I may have overlooked it). I'm using the same SSH config on multiple hosts so being able to expand the local hostname (%l, like in my example above) would be really useful. closing resolved bugs as of 8.6p1 release |