WSL ssh
2024-05-03 10:23:38
컴퓨터
WSL
set up ssh server and change its port number using /etc/ssh/sshd_config
then open the firewall
sudo ufw allow $PORT/tcp
Powershell
netsh interface portproxy add v4tov4 listenport=PORT listenaddress='0.0.0.0' connectport=PORT connectaddress=WSL_IP
// WSL uses its own IP address thus you need to check the ip then set port forwarding using the command above.
▼ more