When I first installed and ran Windows Linux Subsystem, console askded me to enter a new user name for bash. I input User
. Now when I start bash in my console my username and PC name appeared at the beginning of the prompt, like
User@DESKTOP-TPQIRNP:/mnt/...
What should I do if I want to change my username for bash console? And PC name
ssh hostname
. Look at the configuration page to determine what your current hosts are. Two should already exist, the one your currently trying to access and the one you previously created.