Although I was able to SSH out of my WSL Ubuntu session, I was unable to SSH into it (Figure 7). Despite the fact that WSL comes with the OpenSSH package, it’s only a minimal package. As such, it will need to be uninstalled, and the full OpenSSH server will then need to be installed and configured.

Ubuntu VPS Hosting via Hands-On with WSL: Executing Daily Tasks.