From 7f1951074d9c4e69df1aa7fdfc4c7808d983edba Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Thu, 15 Oct 2015 10:34:24 -0700 Subject: [PATCH] Updated Deploy Win32 OpenSSH (markdown) --- Deploy-Win32-OpenSSH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deploy-Win32-OpenSSH.md b/Deploy-Win32-OpenSSH.md index 2891d1e..a556fd0 100644 --- a/Deploy-Win32-OpenSSH.md +++ b/Deploy-Win32-OpenSSH.md @@ -6,7 +6,7 @@ * ssh-keygen.exe -t ecdsa -f ssh_host_ecdsa_key * ssh-keygen.exe -t ed25519 -f ssh_host_ed25519_key * Open Firewall - * netsh advfirewall firewall add rule name="ssh" dir=in action=allow protocol=TCP localport=22 + * new-netfirewallrule -Name SSH -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH * Install key-auth package if you need key-based authentication * run setup-ssh-lsa.cmd * reboot