Skip to content

Instantly share code, notes, and snippets.

@zenixls2
Created August 23, 2023 08:45
Show Gist options
  • Select an option

  • Save zenixls2/e1103f8752444e2935b3f8be970369f7 to your computer and use it in GitHub Desktop.

Select an option

Save zenixls2/e1103f8752444e2935b3f8be970369f7 to your computer and use it in GitHub Desktop.
OpenSSH server in windows
  1. Settings -> Apps and Features -> Optional Features -> Openssh Server Install
  2. Open Admin Powershell
  3. Run the following command in the shell to open port 22.
netsh advfirewall firewall add rule name="sshd" dir=in action=allow protocol=TCP localport=22
  1. Run the following command in the shell to start sshd service
Start-Service sshd
@zenixls2
Copy link
Author

TODO: configuration setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment