WSL: Install openssh-server: sudo apt install openssh-server Add or uncomment following lines in /etc/ssh/sshd_config: