.
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user