Skip to content

Instantly share code, notes, and snippets.

View maao666's full-sized avatar

Mason Ma maao666

  • Duke University
  • Durham, NC
View GitHub Profile
@estsaon
estsaon / wsl-port-forwarding.md
Last active September 18, 2024 21:35
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: