Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.
Installation Documentation - https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
Default allows password authenication, suggest turning it off and using Public Key auth.