It’s often convenient to use the same username for Windows and WSL. Here’s how to change the existing WSL default user (easier to do that than change your WSL username).
- from Windows Command Prompt (example creating WSL username
Ubuntu config --default-user joe
- copy user files over from the old WSL user
Don’t forget to copy:
|SSH keys and config||/home/oldusername/.ssh|