openssh: Change to Microsoft build and update to 8.6.0.0p1 (#2971)

* openssh: Change to Microsoft build and update to 8.6.0.0p1

* Remove win32-openssh and add notes

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>

* Update note

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
Hsiao-nan Cheung 2021-11-19 21:14:50 +08:00 committed by GitHub
parent 8c51885573
commit e82a7f2a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 113 deletions

View File

@ -1,69 +1,49 @@
{
"version": "8.2p1-1",
"description": "A suite of secure networking utilities based on the Secure Shell protocol.",
"homepage": "https://www.openssh.com/",
"license": "ISC",
"version": "8.6.0.0p1",
"description": "The premier connectivity tool for remote login with the SSH protocol. (Microsoft build)",
"homepage": "https://www.openssh.com",
"license": "SSH-OpenSSH",
"architecture": {
"64bit": {
"url": [
"http://repo.msys2.org/msys/x86_64/bash-4.4.023-2-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/gcc-libs-9.3.0-1-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/heimdal-7.7.0-2-x86_64.pkg.tar.zst",
"http://repo.msys2.org/msys/x86_64/heimdal-libs-7.7.0-2-x86_64.pkg.tar.zst",
"http://repo.msys2.org/msys/x86_64/libcrypt-2.1-2-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/libdb-5.3.28-3-x86_64.pkg.tar.zst",
"http://repo.msys2.org/msys/x86_64/libedit-20191231_3.1-1-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/libopenssl-1.1.1.e-1-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/libsqlite-3.30.0-1-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst",
"http://repo.msys2.org/msys/x86_64/ncurses-6.2-1-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/openssh-8.2p1-1-x86_64.pkg.tar.xz",
"http://repo.msys2.org/msys/x86_64/openssl-1.1.1.k-1-x86_64.pkg.tar.zst",
"http://repo.msys2.org/msys/x86_64/zlib-1.2.11-1-x86_64.pkg.tar.xz"
],
"hash": [
"ed17af38e37e0790b467b9887b98bdfb4c711279d067a34b440cdb583ebc12ea",
"79a74bb1ef1d7f4eb12f7437ac24371ec9e41a3d96b653a2ec7f09d1e7aa9c63",
"e64fcf00ddd4158ac56dc3b282698d616bedeece3466376bc03ff61f09a0c044",
"eda2132707ef438db009613c011b47217cb00ee4d4a28ad4f6cb10ad1845f74e",
"333b5089ea0d27c167e7bcf786bf0ceb2192d76c18f338379d771adda18bda3e",
"00caef39902d34112fe9f9e5f9aad063cbde3922c212558ce4cec5f8c33534ee",
"236bedb6a8a90c0ecb70c1bc9c90ccd347f2f1ae96df11aa9af8e6878a606fe3",
"e142b12df8b5f1765a1a0739a5a304d18f810523ac5d36dc66bb92ff00d67d1b",
"45dcd0b4ac5444cfa8a7b9b98908b398710b65277e639666135746d7ffe0bfbb",
"bc452a4db3ea81ba812b1b153e2486d4abd63d64f4d376b7b7f2133efadd11a5",
"0943eb05da94d3ab8efac1a923bfcd515a9ba7251186e29401f06f155ce4d2ba",
"bc633859967a1a3f99f97e79daae6a9b520bf2cdc7e7c14e7647f1e86adee289",
"4f34fdff9fd67affd4de0c6becf112976df8e77ead0937d86db38cd50839ac3f",
"4af63558e39e7a4941292132b2985cb2650e78168ab21157a082613215e4839a"
]
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win64.zip",
"hash": "9f9215dc0b823264d52603f4767d8531880ddfa9aedf16404923814c0ab086b7",
"extract_dir": "OpenSSH-Win64"
},
"32bit": {
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win32.zip",
"hash": "0221324212413a6caf260f95e308d22f8c141fc37727b622a6ad50998c46d226",
"extract_dir": "OpenSSH-Win32"
}
},
"pre_install": [
"ensure \"$dir\\tmp\" | Out-Null",
"ensure \"$dir\\home\" | Out-Null",
"ensure \"$dir\\home\\$env:UserName\" | Out-Null",
"ensure \"$env:UserProfile\\.ssh\" | Out-Null",
"cmd /c mklink /j \"$dir\\home\\%UserName%\\.ssh\" \"%UserProfile%\\.ssh\""
],
"bin": [
[
"usr\\bin\\sh.exe",
"findssl.sh",
"$dir/usr/bin/findssl.sh"
],
"usr\\bin\\scp.exe",
"usr\\bin\\sftp.exe",
"usr\\bin\\ssh.exe",
"usr\\bin\\ssh-add.exe",
"usr\\bin\\ssh-agent.exe",
[
"usr\\bin\\sh.exe",
"ssh-copy-id",
"$dir/usr/bin/ssh-copy-id"
],
"usr\\bin\\ssh-keygen.exe",
"usr\\bin\\ssh-keyscan.exe",
"usr\\bin\\sshd.exe"
"scp.exe",
"sftp.exe",
"sftp-server.exe",
"ssh.exe",
"ssh-add.exe",
"ssh-agent.exe",
"ssh-keygen.exe",
"ssh-keyscan.exe",
"ssh-shellhost.exe",
"sshd.exe"
],
"checkver": {
"github": "https://github.com/PowerShell/Win32-OpenSSH",
"regex": "tag/V([\\d.]+p\\d)-Beta"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V$version-Beta/OpenSSH-Win64.zip"
},
"32bit": {
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V$version-Beta/OpenSSH-Win32.zip"
}
}
},
"notes": [
"Windows 10 or higher includes this build of OpenSSH in the system itself, hence it is recommended to use the system OpenSSH there.",
"Run 'sudo $dir\\install-sshd.ps1' to install sshd and ssh-agent as a service.",
"Run 'sudo $dir\\uninstall-sshd.ps1' to uninstall the services."
]
}

View File

@ -1,52 +0,0 @@
{
"version": "8.6.0.0p1-Beta",
"description": "A suite of secure networking utilities based on the Secure Shell protocol. (Microsoft port)",
"homepage": "https://github.com/PowerShell/Win32-OpenSSH",
"license": {
"identifier": "BSD-3-Clause",
"url": "https://github.com/PowerShell/openssh-portable/blob/latestw_all/LICENCE"
},
"notes": [
"This is a pre-release (non-production ready)",
"Run 'sudo $dir\\install-sshd.ps1' to install sshd and ssh-agent as a service.",
"Run 'sudo $dir\\uninstall-sshd.ps1' to uninstall the services."
],
"architecture": {
"64bit": {
"hash": "9f9215dc0b823264d52603f4767d8531880ddfa9aedf16404923814c0ab086b7",
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win64.zip",
"extract_dir": "OpenSSH-Win64"
},
"32bit": {
"hash": "0221324212413a6caf260f95e308d22f8c141fc37727b622a6ad50998c46d226",
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win32.zip",
"extract_dir": "OpenSSH-Win32"
}
},
"bin": [
"scp.exe",
"sftp.exe",
"sftp-server.exe",
"ssh-add.exe",
"ssh-agent.exe",
"ssh-keygen.exe",
"ssh-keyscan.exe",
"ssh-shellhost.exe",
"ssh.exe",
"sshd.exe"
],
"checkver": {
"github": "https://github.com/PowerShell/Win32-OpenSSH",
"regex": "download/V([\\w.-]+)/"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V$version/OpenSSH-Win64.zip"
},
"32bit": {
"url": "https://github.com/PowerShell/Win32-OpenSSH/releases/download/V$version/OpenSSH-Win32.zip"
}
}
}
}