The IP of my Windows 10 machine is and the IP of my Mac is

WSL on my Windows 10 gives this, running SSHD:

>wsl hostname -I

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= connectport=22 connectaddress=

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


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.