diff --git a/init.ps1 b/init.ps1 index 8b7e294..aeedc76 100644 --- a/init.ps1 +++ b/init.ps1 @@ -17,3 +17,17 @@ echo "Copy SSH Key" Get-Content "$Env:USERPROFILE\.ssh\keys\infra.pub" echo "" echo "" +echo "Install OpenSSH Server" +Add-WindowsCapability -Online -Name OpenSSH.Server +echo "" +echo "" +echo "Enable OpenSSH Server" +Set-Service -Name sshd -StartupType 'Automatic' +echo "" +echo "" +echo "Start OpenSSH Server" +Start-Service -Name sshd +echo "" +echo "" +echo "Install Debian" +wsl --install Debian