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