Skip to content

Instantly share code, notes, and snippets.

@estsaon
estsaon / wsl-port-forwarding.md
Last active February 22, 2025 14:58
How to SSH into WSL2 on an external Window

WSL:

  1. Install openssh-server:
sudo apt install openssh-server
  1. Add or uncomment following lines in /etc/ssh/sshd_config: