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

Ubuntu Windows
<p>Besides installing the server via:</p> <pre><code>sudo apt-get install openssh-server </code></pre> <p>you need to edit the sshd config and set</p> <pre><code>UsePrivilegeSeparation no </code></pre> <p>then a full restart:</p> <pre><code>sudo service ssh --full-restart </code></pre> <p>From: https: //superuser.com/questions/1111591/how-can-i-ssh-into-bash-on-ubuntu-on-windows-10/1114162#1114162</p>

© 2026 Code0x378