From 14482c2c7058e8240e97a1f58236f30e50714ee9 Mon Sep 17 00:00:00 2001 From: bagajjal Date: Mon, 29 Jan 2018 20:10:07 -0800 Subject: [PATCH] Updated Install Win32 OpenSSH (markdown) --- Install-Win32-OpenSSH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index c5f1b9d..ec2772c 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -12,7 +12,7 @@ To get links to latest downloads [this wiki page](https://github.com/PowerShell/ Note: `New-NetFirewallRule` is for Windows 2012 and above servers only. If you're on a client desktop machine (like Windows 10) or Windows 2008 R2 and below, try: ``` - netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=sshd + netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22 ``` 1. Start `sshd` (this will automatically generate host keys under %programdata%\ssh if they don't already exist) * `net start sshd`