SSH NOT Recognized as an Internal or External Command Windows

SSH not Recognized as an Internal or External Command Windows

The network communication protocol called SSH, or Secure Shell, enables two computers to talk to one another and share information.

The latest versions of Windows 10 as well as Windows 11 are installed with a default SSH server and client. This is based on OpenSSH standard. OpenSSH is a tool for remote sign in, and it uses the Secure Shell or SSH protocol.

To check, if the SSH is working on your machine

  1. Open a command window
  2. Type “ssh” without quote and hit enter
  3. You should see something like below image
SSH not Recognized as an Internal or External Command Windows
SSH not Recognized as an Internal or External Command Windows

If it gives error like

“ssh is not recognized as an internal or external command, operable program or batch file”

Try the following:

  1. Check whether the folder “C:\Windows\System32\OpenSSH” exists
  2. Check if the above folder has file called ssh.exe
  3. Add the path of the ssh executable (C:\Windows\System32\OpenSSH) to PATH
  4. Navigate to Settings — Apps — Apps & features — Optional features Then Click on Add a feature. Search OpenSSH server and Install.
SSH not Recognized as an Internal or External Command Windows
SSH not Recognized as an Internal or External Command Windows

5. On the versions of Windows earlier than Windows 10, Download the latest OpenSSH for Windows binaries; extract the download to C:\Program Files\OpenSSH; Install ssh services

6. If you are using version of windows earlier than windows 10 try to use Putty as work around. If it says… ssh command not found, that means you have to use Putty.

Leave a comment