Visual Studio Code Remote SSH uses Windows username instead of username in ssh_config
I found that including the username in the Host definition of the .ssh config file fixed it for me.
Edit the contents of C:/Users/me/.ssh/config from:
Host bar
User foo
HostName bar
ForwardAgent yes
to:
Host foo@bar
User foo
HostName bar
ForwardAgent yes