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?

  • 1
    It's there just not by default. You run the cygwin setup installation file and search for the package you want, in this case ssh and openssh will come up there. e.g. see pics here docs.oracle.com/cd/E24628_01/install.121/e22624/… – barlop Jan 23 '15 at 20:04
  • and this is not even specific to cygwin64 just cygwin – barlop Jan 23 '15 at 22:30
  • and I would add that the instructions on that oracle link are needlessly complex. But as mentioned, see the pics there. it's just a question of running the installation file clicking next checking ssh clicking next and finish. Then ssh will be there – barlop Jan 23 '15 at 22:40

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.

| improve this answer | |

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.