Change in behaviour V9 ./. V10 intended?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



V10 brings a change that is slightly annoying to me, I think it is related to this fix mentioned in the change log
https://bugzilla.mindrot.org/show_bug.cgi?id=3477

Here is an example of the change in behaviour:

#
# Older system, using openssh portable V9:
# ssh -V
OpenSSH_9.8p1, OpenSSL 3.0.15 3 Sep 2024

# ssh user%1234567890@127.0.0.1
(user%1234567890@127.0.0.1) Password: 

# no expansion, %% is passed as is
# ssh user%%1234567890@127.0.0.1
(user%%1234567890@127.0.0.1) Password: 


#
# Current system, using V10:
# ssh -V
OpenSSH_10.0p2, OpenSSL 3.5.0 8 Apr 2025
# ssh user%1234567890@127.0.0.1

vdollar_percent_expand: unknown key %1
percent_dollar_expand: failed

# % must be escaped as %%
# ssh user%%1234567890@127.0.0.1 
(user%1234567890@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 and environment variable expansion in
   the ssh_config User directive, with the exception of %r and %C
   which would be self-referential. bz#3477

suggests only the User directive should be affected.

Thanks 
Klaus Ramstöck
Entwickler
 
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux