Expansion for user keyword in ssh_config
list at moeller-mail.eu
list at moeller-mail.eu
Sun Sep 6 23:26:16 AEST 2026
Hi Openssh team,
I am trying to setup rules in the ssh_config , ~/.ssh/config file to automate some logins. The case I have would require
the User keyword to include %n .
e.g.
Host *.domain.com.
User me#%n
Hostname gw.domain.com
It seems to work on the latest clients except on Windows. I wonder when the expansion for User changed ? Can someone point me to it ?
I tried to check https://github.com/PowerShell/openssh-portable which I think is the Windows source, but could not find the difference.
Thank you
Markus
More information about the openssh-unix-dev
mailing list