Enable ssh server in WSL (i.e. window's bash)

Besides installing the server via:

sudo apt-get install openssh-server

you need to edit the sshd config and set

UsePrivilegeSeparation no

then a full restart:

sudo service ssh --full-restart

From: https://superuser.com/questions/1111591/how-can-i-ssh-into-bash-on-ubuntu-on-windows-10/1114162#1114162