I had to change my Windows 10 username (local account) to remove white space from the user folder("User Name" to "User-Name". I followed the advice in this Q&A. I had a running install of WSL 2 in the user account i renamed.
However after the change of the username i was asked for setting user name and password on the Ubuntu Terminal again. I was able to set the same username used before in WSL and quickly found that it seems to be a fresh install of WSL and all of the previous information is gone e.g. ssh-keys.
I've read that Windows 10 manages WSL on a per user basis. So maybe the WSL for user "User Name" still exists and the configuration wasn't updated automatically. Where would i find the configuration that maps between Windows user accounts and WSL instances and is there a way to change these?