mirror of
https://github.com/KiTTYsh/dotfiles.git
synced 2025-12-09 20:59:16 -05:00
add sshd to initenv
This commit is contained in:
@@ -27,4 +27,9 @@ if (-not (Test-Path 'C:\Program Files\Vim\vim90\vim.exe')) {
|
||||
Invoke-WebRequest -Uri 'https://github.com/vim/vim-win32-installer/releases/download/v9.0.1882/gvim_9.0.1882_x64_signed.exe' -OutFile gvim.exe
|
||||
echo "Installing Vim90"
|
||||
.\gvim.exe /S | Out-Null
|
||||
}
|
||||
}
|
||||
|
||||
# sshd
|
||||
if (-not (Get-WindowsCapability -Online | Where-Object Name -EQ "OpenSSH.Server~~~~0.0.1.0" | Where-Object State -EQ "Installed")) {
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user