Displaying 1 result from an estimated 1 matches for "gitforwindows".
2022 Sep 29
2
[Bug 3477] New: Support environment variable or %u token for User
...t;server> - I'd like
to save them some keystrokes. Per
https://man.openbsd.org/man5/ssh_config.5#TOKENS and Env Variables
section ssh_config doesn't seem to support using a variable of any type
here.
However, I discovered that my Windows work computer using Git Bash for
Windows (https://gitforwindows.org/), ${USERNAME} was expanding to my
username properly for the User field. It says that it's running
OpenSSH_8.5p1.
On my Macbook Pro running OpenSSH_9.0p1 it didn't work - ${USER}
($USERNAME is a Windows thing) ssh <host> just gives me:
${USER}@<censored> Permission denied (...