first commit
This commit is contained in:
3
bin/Firewall.ps1
Executable file
3
bin/Firewall.ps1
Executable file
@ -0,0 +1,3 @@
|
||||
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
|
||||
|
||||
Set-Service sshd -StartupType Automatic
|
||||
Reference in New Issue
Block a user