.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
$source = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.9.1.0p1-Beta/OpenSSH-Win64.zip"
|
$source = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.9.1.0p1-Beta/OpenSSH-Win64.zip"
|
||||||
$source = "https://github.com/PowerShell/openssh-portable/archive/refs/tags/v9.2.2.0.zip"
|
$source = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.2.0p1-Beta/OpenSSH-Win64.zip"
|
||||||
$destination = "C:\Packages\OpenSSH-Win64.zip"
|
$destination = "C:\Packages\OpenSSH-Win64.zip"
|
||||||
|
|
||||||
Invoke-WebRequest -Uri $source -OutFile $destination
|
Invoke-WebRequest -Uri $source -OutFile $destination
|
||||||
|
|||||||
@ -30,7 +30,7 @@ if exist "C:\Program Files\OpenSSH\sshd.exe" (
|
|||||||
)
|
)
|
||||||
else (
|
else (
|
||||||
echo "NEW installation"
|
echo "NEW installation"
|
||||||
robocopy "%PACKAGES%\openssh-portable-9.2.2.0" "C:\Program Files\OpenSSH" /E
|
robocopy "%PACKAGES%\PensSSH-Win64" "C:\Program Files\OpenSSH" /E
|
||||||
)
|
)
|
||||||
|
|
||||||
set PSFILE="C:\Program Files\OpenSSH\install-sshd.ps1"
|
set PSFILE="C:\Program Files\OpenSSH\install-sshd.ps1"
|
||||||
|
|||||||
Reference in New Issue
Block a user