art's abode

Cygwin SSH Server and Windows 7

with 2 comments

In order to install openssh server correctly for Windows 7, you will need to do the following:

  1. Install Cygwin in the normal way. Make sure you’ve got openssh and cygrunsrv as selected packages to install.
  2. Right-click the Cygwin shell icon, and Run as administrator.
  3. Run ssh-host-config. Follow the prompts carefully: if needed, 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. You 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 you will have to do this manually.

Written by art

September 2nd, 2009 at 3:20 pm

2 Responses to 'Cygwin SSH Server and Windows 7'

Subscribe to comments with RSS

  1. Will this give you the ability to acess your c:/Users/****/My Documents while sshing into your machine?


    25 Feb 10 at 02:08

  2. Hi Matt,

    Yes it will.

    Kind regards,
    – Art


    3 Mar 10 at 09:38

Leave a Reply