Compare commits

..

1 Commits

Author SHA1 Message Date
Christer Warén
9d8e3d0cff Init.ps1 Update 2025-11-01 11:49:31 +02:00

View File

@@ -17,3 +17,17 @@ echo "Copy SSH Key"
Get-Content "$Env:USERPROFILE\.ssh\keys\infra.pub" Get-Content "$Env:USERPROFILE\.ssh\keys\infra.pub"
echo "" echo ""
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