On This Page

Windows Help Section

SSH on Windows Subsystem for Linux (WSL)

1. Update & Install OpenSSH Server

sudo apt update
sudo apt install openssh-server
sudo nano /etc/ssh/sshd_config

Ensure the following line is present and uncommented:

PasswordAuthentication yes

Change the port if desired. Save and exit the file.

2. Start the SSH Service

sudo service ssh start

3. Port Forwarding on Windows

Get your WSL IP address:

hostname -I

Set up port forwarding (replace <WSL_IP> with your actual IP):

netsh interface portproxy add v4tov4 listenport=2022 listenaddress=0.0.0.0 connectport=2022 connectaddress=<WSL_IP>

4. Configure Windows Firewall

New-NetFirewallRule -Name "SSH-WSL" -DisplayName "SSH WSL" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 2022

5. Connect to WSL via SSH

ssh username@<Windows_IP> -p 2022

6. Auto-Start SSH with WSL

Add this line to your ~/.bashrc file:

sudo service ssh start

WinSlop

What It Does

WinSlop does exactly what the name suggests:

  • Removes unnecessary bloat
  • Tones down what cannot be removed
  • Shows what’s running and enabled
  • Gives you control back

No cloud. No assistants. No “smart” magic. Just local changes, explicit choices, and a way back.

Everything is deterministic and reversible.

Download WinSlop