mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 22:15:37 +02:00
re-cased New-NetFirewallRule
parent
5669018b90
commit
a58c322de2
@ -7,7 +7,7 @@
|
|||||||
* `ssh-keygen.exe -t ed25519 -f ssh_host_ed25519_key`
|
* `ssh-keygen.exe -t ed25519 -f ssh_host_ed25519_key`
|
||||||
* Open Firewall
|
* Open Firewall
|
||||||
* start PowerShell
|
* start PowerShell
|
||||||
* `new-netfirewallrule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH`
|
* `New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH`
|
||||||
* If you need key-based authentication:
|
* If you need key-based authentication:
|
||||||
* Install key-auth package
|
* Install key-auth package
|
||||||
* run setup-ssh-lsa.cmd
|
* run setup-ssh-lsa.cmd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user