SSH client not found on cygwin64?

I startup the cygwin bash prompt using the batch script but there is no ssh command. How do I setup an SSH client in cygwin64?


Solution 1:

The openssh package (containing both the OpenSSH server and client software) is not part of Cygwin's minimal base packages. The same setup-x86_64.exe for installing and updating Cygwin itself is used for installing individual packages such as openssh.

Solution 2:

Click on the setup-x86_64.exe and then click next till you reach to the Select packages menu.

In the search do the following:

  1. Type openssh in the search box
  2. It will search for openssh > click on Net package > click on skip > check the two boxes that pop up.
  3. Click on next till you finish the install
  4. Search for cygwin and then right click it and "Run as Administrator"
  5. Type ssh command in the command line of cygwin
  6. You will see something similar to the following:

enter image description here