diff --git a/bin/Firewall.ps1 b/bin/Firewall.ps1 index 66cc49f..8097787 100755 --- a/bin/Firewall.ps1 +++ b/bin/Firewall.ps1 @@ -1,6 +1,6 @@ # New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 -Set-Service sshd -StartupType Automatic# Start the sshd service +Set-Service sshd -StartupType Automatic Start-Service sshd # OPTIONAL but recommended: