mirror of
https://github.com/andrey271192/ssh-manage.git
synced 2026-09-20 11:55:37 +00:00
Invoke-WebRequest fails without TLS12 on some Windows. Use System.Net.WebClient with explicit TLS12 and User-Agent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
=====================================
|
||
PCA SSH v2.0 — Установка на Windows
|
||
=====================================
|
||
|
||
СПОСОБ 1 — Одна команда (рекомендуется)
|
||
Скопируй и вставь в PowerShell:
|
||
|
||
[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $wc=New-Object Net.WebClient; $wc.Headers.Add('User-Agent','PCA'); $wc.DownloadFile('https://raw.githubusercontent.com/andrey271192/ssh-manage/main/full_install.ps1',"$env:TEMP\pca_install.ps1"); powershell -ExecutionPolicy Bypass -File $env:TEMP\pca_install.ps1
|
||
|
||
Что произойдёт:
|
||
- Скачает установщик с GitHub
|
||
- Установит Python (если нет)
|
||
- Соберёт PCA_SSH.exe с иконкой
|
||
- Положит PCA_SSH.exe на Рабочий стол
|
||
|
||
СПОСОБ 2 — Скачать и запустить
|
||
1. Скачай: https://github.com/andrey271192/ssh-manage/archive/main.zip
|
||
2. Распакуй в любую папку
|
||
3. Открой PowerShell в этой папке
|
||
4. Запусти: powershell -ExecutionPolicy Bypass -File full_install.ps1
|
||
|
||
СПОСОБ 3 — Без сборки (Python)
|
||
1. Установи Python: https://python.org/downloads/
|
||
2. Скачай репозиторий
|
||
3. Открой cmd/PowerShell в папке
|
||
4. pip install paramiko
|
||
5. python ssh_manager.py
|