2

The IP of my Windows 10 machine is 192.168.3.108 and the IP of my Mac is 192.168.3.100.

WSL on my Windows 10 gives this, running SSHD:

>wsl hostname -I
172.29.152.15

How can I directly SSH into the WSL on my Windows 10 machine without having to connect to the Windows 10 machine first?

with Darius' help, I tried this

netsh interface portproxy add v4tov4 listenport=22 listenaddress=0.0.0.0 connectport=22 connectaddress=192.168.3.109

My mac still cannot connect the WSL, am I using the right ports? Do I need to change something on Windows firewall?

4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.