Shared server guidance · Question & answer

How do I check whether OpenSSH Client is installed on Windows?

Check whether Windows can locate ssh.exe and whether the executable runs. The client is the component needed to connect outward to a Linux or Windows server; installing an SSH server on your PC is not required.

BeginnerWindows 11 with Microsoft OpenSSH Client; Windows PowerShell 5.1 or PowerShell 7 as labelledLinux VPS and dedicated servers where a remote Linux command is shown
Go to the answer

Instructions

1. Find the client from your preferred shell

These alternatives inspect command discovery without changing Windows features.

Local Windows PowerShell
Get-Command ssh.exe -CommandType Application

The Source property identifies the executable that PowerShell would launch.

Local Windows CMD
where ssh

CMD lists matching executables found through its search path. Multiple results can explain different client versions.

2. Read the executable version

Use the client itself to distinguish a missing command from a connection problem.

Local Windows PowerShell
ssh -V

OpenSSH prints its client version, often on the error-output stream. No server connection is attempted.

3. Inspect the optional feature if necessary

On a managed PC, use an elevated PowerShell window only for this feature inventory if access is required. The feature can be installed even when a newly opened shell is needed to refresh command discovery.

Local Windows PowerShell
Get-WindowsCapability -Online -Name 'OpenSSH.Client~~~~0.0.1.0'

Installed indicates the Windows optional client is present. Other distributions of ssh.exe may exist separately.

Check the result

  • ssh -V returns a client version.
  • The executable path is an expected, trusted installation location.

Troubleshooting

The command is not recognised
Check the optional feature and the executable path before changing PATH.
Feature inventory says NotPresent but ssh works
A separately installed client may be in use. Identify that installation before replacing it.

Official references

Use the documentation for your installed version when a flag, service name or platform feature differs.