Question:

How to setup cygwin SSH on windows 7 premium?

by Guest9270  |  12 years, 8 month(s) ago

0 LIKES UnLike

I have a question related to setting up Cygwin SSH on a computer system. I have recently got a new computer which comes with windows 7 and I need to setup Cygwin SSH server on windows 7 premium. I would appreciate if anyone could please tell me how to do it.

 Tags: cygwin, Premium, setup, ssh, Windows

   Report

1 ANSWERS

  1. Guest3368

    Apparently it is believed that Cygwin's ssh works just fine on Windows 7.Somehow, It seems like installing OpenSSH (sshd) on Windows 7 is a bit of a hassle. However, it is  simple to set up an SSH server right on your Windows PC with Cygwin (and even simpler on your Mac). Once your personal SSH server is up and running, you can connect to your home computer securely from anywhere on the internet, up and download files and perform all the command line tasks your heart desires. Following is the way it is done:


    1. Install Cygwin in the normal way thus making sure that there are openssh and cygrunsrv as selected packages to install.

    2. Right-click the Cygwin shell icon, and Run as administrator.

    3. Run ssh-host-config by following the prompts carefully: if required, it will tell you which permissions you need to set and where. Remember to say yes to privilege separation: it will create a user for you called cyg_runsrv which all cygwin services will run under in Windows 7.

    4. User should be able to start the service using cygrunsrv –-start sshd, or by starting it as a normal service under Administrative Tools > Services.

    5. This does not automatically create and open firewall rules, so it will have to be done manually.

Sign In or Sign Up now to answser this question!

Question Stats

Latest activity: 12 years, 11 month(s) ago.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.