Init.ps1 Update
This commit is contained in:
1 parent
a69fb755f9
commit
9d8e3d0cff
1 file changed
+14
@@ -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
|
||||
Reference in new issue
Block a user