DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

Create cmd line install of Win64 OpenSSH #361

Closed sbtaylor15 closed 2 years ago

sbtaylor15 commented 2 years ago

Install OpenSSH without using Powershell.

sbtaylor15 commented 2 years ago

Here is the msi download - https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.9.1.0p1-Beta/OpenSSH-x64-v8.9.1.0.msi

sbtaylor15 commented 2 years ago

Steps for OpenSSH Install

  1. Download https://github.com/PowerShell/Win32-OpenSSH/releases/download/v8.9.1.0p1-Beta/OpenSSH-x64-v8.9.1.0.msi
  2. Run the .msi installer as an administrator
  3. RSA Public Key to C:\ProgramData\ssh\administrators_authorized_keys
  4. Run: icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"
  5. Add C:\Program Files\OpenSSH to the PATH at the System Environment level