diff --git a/ssh_install.ps1 b/ssh_install.ps1 index 88bbf89..cdb3b26 100644 --- a/ssh_install.ps1 +++ b/ssh_install.ps1 @@ -10,12 +10,12 @@ Write-Host "`n========== SSH УСТАНОВКА ==========`n" -ForegroundColor C # 1. Скачиваю установщик... Write-Host "1. Скачиваю установщик..." -ForegroundColor Yellow New-Item -ItemType Directory -Path $temp -Force | Out-Null -Invoke-WebRequest -Uri "$repo/installers/openssh.msi" -OutFile "$temp\openssh.msi" -ErrorAction Stop +Invoke-WebRequest -Uri "$repo/installers/OpenSSH.msi" -OutFile "$temp\OpenSSH.msi" -ErrorAction Stop Write-Host " ✓ Готово" -ForegroundColor Green # 2. Устанавливаю SSH... Write-Host "`n2. Устанавливаю SSH..." -ForegroundColor Yellow -msiexec /i "$temp\openssh.msi" /quiet /norestart +msiexec /i "$temp\OpenSSH.msi" /quiet /norestart Write-Host " ✓ Готово" -ForegroundColor Green # 3. Настраиваю авторизацию...