-
Notifications
You must be signed in to change notification settings - Fork 772
Building OpenSSH for Windows (using LibreSSL crypto)
Tess Gauthier edited this page Feb 23, 2022
·
14 revisions
- git clone https://github.com/PowerShell/openssh-portable
- git checkout latestw_all
- Download and Install VS 2015, or newer, with Desktop Development with C++ - latest install here
- Install Windows SDK 10.0.17663.0 during Visual Studio install, or download from here
- Install Microsoft Build Tools 2015 during Visual Studio install, or download from here. Note, Build Tools 2015 are needed regardless of the Visual Studio version installed
- Open "contrib\win32\openssh\Win32-OpenSSH.sln" in Visual Studio, ensure platform toolset is set to "no upgrade" and Windows SDK is set to "10.0.17663.0"
- If necessary, change the configuration and architecture from the middle toolbar
- Build the Win32-OpenSSH binaries
In Powershell:
- cd repository-root
- ipmo .\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force
- Start-OpenSSHBuild -Configuration <Release|Debug> -NativeHostArch <x64|x86>
- Start-OpenSSHPackage -Configuration <Release|Debug> -NativeHostArch <x64|x86>
- Above generates Zipped binary and symbols payload. Follow further installation instructions here.
- MSI Install Instructions
- Script Install Instructions
- Alternative installation using the universal installer
- Retrieving download links for the latest packages