Displaying 2 results from an estimated 2 matches for "vdollar_percent_expand".
2025 Jan 20
0
Match/Include by environment variable unexpected behavior
...XAMPLE_VARIABLE=example ssh -F ./testing.sshconfig -G foo.example.com | grep -i proxyjump
proxyjump bar.example.com
```
When the environment variable is not set, there is an error from still trying to expand the Include path:
```
$ ssh -F ./testing.sshconfig -G foo.example.com | grep -i proxyjump
vdollar_percent_expand: env var ${EXAMPLE_VARIABLE} has no value
./testing.sshconfig line 2: Unable to expand user config file '${PWD}/${EXAMPLE_VARIABLE}.sshconfig'
```
I don't see this behavior called out in the manpage; in fact, the manual seems to imply that Match failure should skip inclusions:
> In...
2025 May 07
0
Change in behaviour V9 ./. V10 intended?
...1234567890 at 127.0.0.1
(user%1234567890 at 127.0.0.1) Password:
# no expansion, %% is passed as is
# ssh user%%1234567890 at 127.0.0.1
(user%%1234567890 at 127.0.0.1) Password:
#
# Current system, using V10:
# ssh -V
OpenSSH_10.0p2, OpenSSL 3.5.0 8 Apr 2025
# ssh user%1234567890 at 127.0.0.1
vdollar_percent_expand: unknown key %1
percent_dollar_expand: failed
# % must be escaped as %%
# ssh user%%1234567890 at 127.0.0.1
(user%1234567890 at 127.0.0.1) Password:
User names follow a <user>%<id> pattern.
Is this the intended behaviour? The section form the release notes
ssh(1): allow %-token an...