These are instructions on how to set up SSH into a WSL system on a remote server.
They loosely follow the instructions here https://superuser.com/questions/1622581/ssh-into-wsl-from-another-machine-on-the-network.
Assume the Windows Host's name is my.windowshost
and your user name is me
(so [email protected]) and that your user name on the Windows host's WSL is wsl_me
.
It does not seem to matter what the WSL host name is: we'll be using localhost
for the WSL as we're forwarding traffic through the Windows host (my.windowshost
in our example).
- Set up OpenSSH on the Windows host (just Google how to do this)