-
Notifications
You must be signed in to change notification settings - Fork 784
Install Win32 OpenSSH Using MSI
Tess Gauthier edited this page Mar 17, 2022
·
10 revisions
- Win32-OpenSSH Github releases can be installed on Windows 7 and up.
- Note these considerations and project scope first.
- Download the latest build of OpenSSH, selecting either the 32-bit or 64-bit MSI.
The MSI must be run in any command prompt (cmd.exe & pwsh.exe both work), as it does not yet have a UI (coming soon).
The MSI will install OpenSSH to the ProgramFiles\OpenSSH
folder.
The commands to run, are as follows:
- To install both the SSH Client & the SSH Server (default behavior)
msiexec /i <path to openssh.msi>
- To install only the SSH Client
msiexec /i <path to openssh.msi> REMOVE=Server
- To install only the SSH Server
msiexec /i <path to openssh.msi> REMOVE=Client
- Installing SSH Client & openssh.msi is in the working directory:
msiexec /i openssh.msi REMOVE=Server
- Installing SSH Server & openssh.msi is in C:\users\public\downloads:
msiexec /i C:\users\public\downloads\openssh.msi REMOVE=Client
To verify that OpenSSH was installed properly, check the status of the SSH Service.
In PowerShell, run:
Get-Service -Name ssh*
Similarly, the command to uninstall Win32-OpenSSH is as follows:
msiexec /x <path to openssh.msi>
Further information on msi command-line options can be found here
- MSI Install Instructions
- Script Install Instructions
- Alternative installation using the universal installer
- Retrieving download links for the latest packages