This commit is contained in:
USER
2023-09-27 21:12:01 +01:00
parent 096c42053c
commit c35a04a807

View File

@ -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: