From 2ef1257c1fcf143df97ec2e783aadef3243bb30c Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Sun, 30 Apr 2017 19:11:24 -0700 Subject: [PATCH] Created Building OpenSSH for Windows (using LibreSSL crypto) (markdown) --- ...SSH-for-Windows-(using-LibreSSL-crypto).md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Building-OpenSSH-for-Windows-(using-LibreSSL-crypto).md diff --git a/Building-OpenSSH-for-Windows-(using-LibreSSL-crypto).md b/Building-OpenSSH-for-Windows-(using-LibreSSL-crypto).md new file mode 100644 index 0000000..ba5f70c --- /dev/null +++ b/Building-OpenSSH-for-Windows-(using-LibreSSL-crypto).md @@ -0,0 +1,20 @@ +#### Download latest source + - git clone https://github.com/PowerShell/openssh-portable + - git checkout latestw_all_libressl + +#### Building OpenSSH for Windows +In Powershell: + - cd + - ipmo .\contrib\win32\openssh\OpenSSHBuildHelper.psm1 -Force + - Build-OpenSSH -Configuration -NativeHostArch + +#### Deploying OpenSSH for Windows + - Copy libreSSL crypto dll to a known PATH + - copy .\contrib\win32\openssh\LibreSSLSDK\x64\libcrypto-41.dll (Join-Path $env:windir system32) + - Package-OpenSSH -Configuration -NativeHostArch + - Above generates Zipped binary and symbols payload. Follow further installation instructions [here]. + +#### Building using Visual Studio 2015 + - Download and Install VS 2015 [Community Edition](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) + - Open "contrib\win32\openssh\Win32-OpenSSH.sln" in Visual Studio and continue building Win32-OpenSSH binaries +