I would like to install the Microsoft-provided OpenSSH client for Windows 10 on machines that do not have internet access.
Typically the instructions for installing the OpenSSH client involve running a command like this in PowerShell:
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Or alternatively using the DISM tool in a command prompt:
dism /Online /Add-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0
However, I have found that these commands only work if the machine has internet access, which makes sense since each command uses the 'Online' switch. The existence of the 'Online' switch makes me think that there might be a way to perform the installation offline. Such an offline installation would probably require files to be downloaded and placed on the machines, which Add-WindowsCapability
or DISM.exe
knows how to use.
Is it possible to install the OpenSSH client without internet access?